IntelliJ IDEA 2016.2 Help

Form Workspace

The Form Workspace occupies the center part of the frame (assuming the default tool window layout and visibility). The background is white by default. When you create a new Form, a JPanel component is added to the workspace which appears as a gray rectangle. You can place components from the Component Palette into this container by first clicking on the component in the Palette, and then clicking within the pane in the Form Workspace. The form workspace has a context menu that provides access to the Clipboard, layout actions and more.

PreviewShow the form as it should look at runtime. See Previewing Forms.
Data Binding WizardGenerate getData(), isModified() and isModified() methods for the fields bound to data. The corresponding class should already exist. See Generating Accessor Methods for Fields Bound to Data
Cut, Copy, PastePerform usual Clipboard operations.
PackChoose this command to compress the current form to its minimal size, defined by the layout manager. This command is only available for the top level container in a form.
Show GridIf this option is checked, the form displays grid lines.
Show Component TagsThis option toggles display of the name of a field associated with the selected component. This feature is available for the components that exceed certain pre-defined dimensions.
Create ComponentChoose this command to display the list of available components and insert the selected one in the current location.
Jump to SourceOpen the bound class in the editor, and place the caret to the field associated with the selected component. For the whole form, the caret rests at the class declaration.
Expand/Shrink SelectionSelect successively increasing sets of components from the current one to its container. Compare to selecting text in the editor.
DuplicateClone the selected component.
Morph ComponentCreate a component of a different type with the same properties. See Morphing Components.
Create Listener Create listener for the selected component.
Go To Listener Navigate to the source code of the selected listener.
Surround WithDisplay the list of available containers, and place in one or more selected components into the container of your choice. See section Wrapping/Unwrapping Components
FlattenUnwrap components from a container. See section Wrapping/Unwrapping Components.
Local historyAccess the commands of the local version control.
Add to Favorites Add selected component to favorites.

See Also


Last modified: 23 November 2016