IntelliJ IDEA 2021.1 Help

Binding a Form to a New Class

When all components are cleared, or the Form node is selected in the Component Treeview, the form's properties the Inspector displays properties of the form.

To bind a GUI form to a not-yet-existing class

  1. Select the desired form in the Form Workspace or in the Components Treeview.

  2. In the bind to class field, type the fully qualified name of the new class. Intention action icon appears suggesting to create the specified class.

  3. Click the intention action icon, or press Alt+Enter. The desired class is created in the specified location.

    Screenshot

Last modified: 08 March 2021