IntelliJ IDEA 2016.3 Help

Bound Class

By default, IntelliJ IDEA automatically creates a Java class at the same time it creates a new GUI form. The new form automatically binds to the new class via the bind to class property. When components are added to the design form, a field for each component is automatically inserted into the source file of the Form's class (with some exceptions such as JPanels and JLabels which don't automatically get field names when placed on a Form). The field name appears in the relevant component's field name property, thereby binding the component to code in the class. It only remains to augment the generated code with whatever additional code is needed to implement behaviors and functionality of the form.

You can opt to create a new form without a bound class. In this case you will have to explicitly bind a form to the source code.

See Also

Last modified: 21 March 2017