|
|
Contents |
IntelliJ IDEA plug-inThis plug-in integrates JFormDesigner into Jetbrains IntelliJ IDEA. BenefitsUsing this plug-in has following benefits compared to JFormDesigner stand-alone edition:
User interfaceThe screenshot below shows the IntelliJ IDEA main window editing a JFormDesigner form.
A JFormDesigner editor consists of:
Creating new formsYou can create new forms in any of IntelliJ IDEA's project views. First select the destination package or folder, then invoke IDEA's New command and choose JFormDesigner Form.
In the New JFormDesigner Form dialog, enter the form name (which is also used as class name), choose a superclass, a layout manager and set localization options.
After clicking OK, the form will be created and opened. Open forms for editingYou can open existing forms the same way as opening any other file in IntelliJ IDEA. Locate it in any of IDEA's project views and double-click it. Go to Java code / go to formJFormDesigner adds a button to IntelliJ IDEA's main toolbar that
enables you to switch quickly from a JFormDesigner form editor to its
Java editor and vice versa. If a form editor is active, then the button
is named Go to Java code (
Code foldingTo move the generated code out of the way, JFormDesigner folds it in the Java editor.
Convert IntelliJ IDEA and NetBeans formsYou can convert existing IntelliJ IDEA and NetBeans forms to JFormDesigner forms. Right-click on the form file and select Convert to JFormDesigner Form. Note: When converting an IntelliJ IDEA form, JFormDesigner inserts its own generated GUI code into the existing Java class, but does not remove IDEA's GUI code. You have to remove IDEA's component variables and initialization code yourself. SettingsJFormDesigner uses the term "Preferences" instead of IntelliJ IDEA's "Settings". The JFormDesigner preferences are fully integrated into the IntelliJ IDEA settings dialog. Select File > Settings from the menu to open it and then click the icon named "JFormDesigner". See Preferences for details. Keyboard shortcutsYou can assign shortcut keys to most JFormDesigner commands in IntelliJ IDEA's keymap settings dialog. Select File > Settings > Keymap to open it. In the actions tree expand All Actions > Plug-ins > JFormDesigner.
|