The Visual Menu

This page describes the items in the Visual menu of the Java WorkShop menu bar.

Import

Imports files with the extension .gui that contain Visual Java windows that you want to include in your application. This menu item activates a file chooser.

Import URL

Imports files with the extension .gui that contain Visual Java windows that you want to include in your application. Specify the .gui file as part of a URL. For example:
	http://some_url/projects/interfaces/flag.gui

Generate

Generates Java source code from your layout. See Generate Java Source Code for details.
Tool bar accelerator:

Save

Saves your layout to disk in the file <ProjectName>.gui.
Tool bar accelerator:

Cut

Cuts the selected component or window to the clipboard. You can paste the cut component or window to another location in the layout.
Tool bar accelerator:

Copy

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.
Tool bar accelerator:

Paste

Pastes a cut or copied component or window to another cell in the layout.
Tool bar accelerator:

Delete

Deletes the selected component or window. Does not place a copy on the clipboard and cannot be undone.

Edit Attributes

Activates the Attribute Editor. The attributes of the selected component or window are loaded. See Attribute Editor for details.
Tool bar accelerator:

New Window

Activates the New Window dialog box. Use the New Window dialog box to add a new frame, dialog, or generic window to your application.
Tool bar accelerator:

Nested Panel

Nests (in place) the selected component within a Gridbag Layout Panel component.

Main Container

Activates the Main Container dialog. Use the Main Container dialog to change the type of a main container to a frame or a panel.

Edit Palette

Activates the Palette Editor. Use the Palette Editor to add, delete, and rearrange items in the following: See Palette Editor for details.

Open Palette

Opens a previously saved version of the component palette. Activates a file chooser.

Save Palette

Saves a copy of the component palette to a named file. Activates a file chooser.


See also:

Visual Java Overview
Visual Java Components
Laying Out GUI Interfaces
Generating Java Source Code
Adding Operations (Filters and Actions)
Visual Java Runtime Classes
Creating Menus
Adding Custom Components and Windows
Using Groups and Shadows (Basic)
Using Groups and Shadows (Advanced)
Visual Java API Documentation
Visual Java Runtime Packages
Class Hierarchy
Index of all Fields and Methods