# GUI Menu

Show GUI Builder | Adds GUI builder controls to the Java WorkShop window. This item is active only for projects that were created using the Visual Java GUI builder.
Merge GUI File | Opens a file chooser and imports the selected file (a file that contains a GUI builder window that you want to include in your application). The file must have a `.gui` extension.
Save Generate GUI File | Saves your layout to disk in the file project-name`.gui` and generates Java source code from your layout. See Generate Java Source Code for details.
Cut Component | Cuts the selected component or window and places it on the clipboard. You can paste the cut component or window to another cell in the layout.
Copy Component | Copies the selected component or window to the clipboard. You can paste the copied component or window from the clipboard to another cell in the layout.
Paste Component | Pastes a cut or copied component or window to another cell in the layout.
Delete Component | Deletes the selected component or window. Does not place a copy on the clipboard and cannot be undone.
Edit Attributes | Opens the attribute editor displaying the attributes of the selected component or window. See the attribute editor help for details on how to modify the attributes of a component. This command also has a button on the main toolbar.
Add Column | Adds a column to the left or right of the selected cell or component.
Add Row | Adds a row above or below the selected cell or component.
Add New Window | Opens the New Window dialog box. Select a specific container from the list and click Create to open a new gridbag layout for the given container. This command has a corresponding button to the left of the component palette.
Set Window Type | Opens the Main Container dialog box. Use this dialog box to change the type of a main container to a frame or a panel.
Nest Panel | Nests (in place) the selected layout panel component within a GridBag Layout Panel component.
Customize Palette | Opens the palette editor. Use the palette editor to customize, delete, and rearrange components in palette folders.
Import Components to Palette | Opens the Import Components to Palette dialog box. Use this dialog box to import JavaBeans or components with shadow classes. See Importing Components for details.
Reset to Factory Palette | Returns the contents of the standard GUI builder palette (the AWT, Panels, and Additional tabs) to their original state.
Bean Info on Selected Component | Opens the Bean Information dialog box that displays bean-specific information including properties, events, and methods.
Update Component Classes in Design | Opens the Update Component Classes in Design dialog box that displays a list of bean classes. Select a class (or classes) to update. The component in the palette is updated, not the component in the layout window. A Reload Component in Design dialog box appears if a reload is required.
Class Usage Report | Displays a list of component classes used in the current project.

See also:

  GUI Builder Palette
  Laying Out the Interface
  Adding a Menu Bar and Menus
  Adding Custom Components and Windows