Popup menus for the UI Designer

The following popup menus for the UI Designer are determined by which layout the selected container is using:

All layouts:

XYLayout:

GridBagLayout components:

PaneLayout:


Undo

Un-does an action in the UI Designer.

You can undo multiple successive actions by choosing Undo repeatedly. This undoes your changes by "stepping back" through your actions and reverting them to their previous state. You can specify an undo limit on the Editor page of the Environment Options dialog box.

See also:
Getting Started with JBuilder: Undo/Redo


Redo

Reverses the effects of your most recent undo. Redo only has effect immediately after an Undo command.

See also:
Getting Started with JBuilder: Undo/Redo


Cut

Removes the selected component from its current position in the UI Designer and places it on the clipboard.

Cut replaces the current clipboard contents with the selected item. To insert the contents of the clipboard elsewhere choose Paste.

See also:
Getting Started with JBuilder: Cutting, copying, and pasting components


Copy

Places an exact copy of the selected component on the clipboard and leaves the original untouched. Copy replaces the current clipboard contents with the selected component.

See also:
Getting Started with JBuilder: Cutting, copying, and pasting components


Paste

Inserts the contents of the clipboard into the UI Designer. A component is inserted at the current cursor position.

You can paste the current contents of the clipboard as many times as you like until you cut or copy a new component onto the clipboard.

See also:
Getting Started with JBuilder: Cutting, copying, and pasting components


Look and Feel

Changes the look and feel of the UI. Three choices are available:

See also:
Getting Started with JBuilder: Changing the look and feel of your UI


Move to First

Moves the selected component to the top of the Z-order.

See also:
Building Applications with JBuilder: Aligning components in XYLayout


Move to Last

Moves the selected component to the bottom of the Z-order.

See also:
Building Applications with JBuilder: Aligning components in XYLayout


Serialize Component

Serializes the selected object.

Serializing an object is the process of turning it into a sequence of bytes that is neither a .java nor a .class file. That sequence of bytes can be saved as a file on a disk or sent over a network. When a request is made to restore an object from a file or on the other end of a network connection, the sequence of bytes is deserialized into its original structure.

See also:
Building Applications with JBuilder: Serializing components in the UI Designer


Align Left

Lines up the left edges of the selected components with the left edge of the first selected component.

See also:
Building Applications with JBuilder: Aligning components in XYLayout


Align Center

Horizontally lines up the centers of the selected components with the center of the first selected component.

See also:
Building Applications with JBuilder: Aligning components in XYLayout


Align Right

Lines up the right edges of the selected components with the right edge of the first selected component.

See also:
Building Applications with JBuilder: Aligning components in XYLayout


Align Top

Lines up the top edges of the selected components with the top edge of the first selected component.

See also:
Building Applications with JBuilder: Aligning components in XYLayout


Align Middle

Vertically lines up the centers of the selected components with the middle of the first selected component.

See also:
Building Applications with JBuilder: Aligning components in XYLayout


Align Bottom

Lines up the bottom edges of the selected components with the bottom edge of the first selected component.

See also:
Building Applications with JBuilder: Aligning components in XYLayout


Even Space Horizontal

Evenly spaces the selected components horizontally between the first and last selected components.

See also:
Building Applications with JBuilder: Aligning components in XYLayout


Even Space Vertical

Evenly spaces the selected components vertically between the first and last selected components.

See also:
Building Applications with JBuilder: Aligning components in XYLayout


Same Size Horizontal

Makes the selected components the same width as the first selected component.

See also:
Building Applications with JBuilder: Aligning components in XYLayout


Same Size Vertical

Makes the selected components the same height as the first selected component.

See also:
Building Applications with JBuilder: Aligning components in XYLayout


Show Grid

Displays the GridBagLayout grid in the UI Designer.

See also:
Building Applications with JBuilder: GridBagLayout


Remove Padding

Sets any size padding values (ipadx and ipady) for the selected component to zero.

See also:
Building Applications with JBuilder: GridBagLayout


Constraints

Displays the Constraints property editor for the selected GridBagLayout component.

See also:
Building Applications with JBuilder: GridBagLayout


Fill Horizontal

Sets the fill GridBagConstraint value for the component to HORIZONTAL. The component expands to fill the cell horizontally.

Note: If Fill Vertical is also selected for the component, the fill value becomes BOTH.

See also:
Building Applications with JBuilder: GridBagLayout


Fill Vertical

Sets the fill GridBagConstraint value for the component to VERTICAL. The component expands to fill the cell vertically.

Note: If Fill Horizontal is also selected for the component, the fill value becomes BOTH.

See also:
Building Applications with JBuilder: GridBagLayout


Remove Fill

Changes the fill GridBagConstraint value for the component to NONE.

See also:
Building Applications with JBuilder: GridBagLayout


Weight Horizontal

Sets the weightx GridBagConstraint value for the component to 1.0.

See also:
Building Applications with JBuilder: GridBagLayout


Weight Vertical

Sets the weighty GridBagConstraint value for the component to 1.0

See also:
Building Applications with JBuilder: GridBagLayout


Remove Weights

Sets both weightx and weighty GridBagConstraint values for the component to 0.0.

See also:
Building Applications with JBuilder: GridBagLayout