Intellij IDEA has a feature where you can bind form files to a class.
https://www.jetbrains.com/help/idea/binding-a-form-to-a-new-class.html
The "linked" class has the corresponding items lke JPanels etc. as private references but they are never set to anything.
Example:
public class Formtest{
private JPanel panel1;
private JLabel label1;
....
}
I was wondering how exactly this works at run time, and how exactly they get matched together .