Palette Editor
Use the Palette Editor to add, delete, or change components
in a Visual Java palette.
To edit a palette select one of the three palettes from the choice menu at the upper-left corner of the editor.
- Palette
The palette of Visual Java components located to the left of the
main Visual Java window.
Custom Menu
The list of items in the Custom menu located
above the component palette.
Windows
The list of windows available for you to choose from the
Visual=>New Window dialog.
Once you've chosen a palette you can rearrange, add, delete, or
edit components.
To rearrange components:
- Choose a component in the editor list.
- Click on the arrows at the upper-right corner of the
editor to move the component up and down the
palette.
When you move an item in the component palette, both the
entry in the editor list and the component button in the
palette move.
To add a component:
- Click the Add button at the bottom of the editor.
- In the Add Item dialog box, fill in the text fields:
Class
The full package and class name of the component
Description
The text you want to display in the Java WorkShop footer
when the cursor is moved over the component in the
palette
Icon
(Palette only)
The path name of the file that contains the image to be
contained in the icon
Menu Label
(Custom menu only)
The label that appears in the Custom menu
To delete a component:
- Choose the component in the editor list.
- Click the Delete button at the bottom of the editor.
To edit a component:
- Choose the component in the editor list.
- Click the Edit button at the bottom of the editor.
- In the Edit Item dialog box, edit the text fields:
Class
The full package and class name of the component
Description
The text you
want to display in the WorkShop footer when the cursor is
moved over the component in the palette
Icon
(Palette only)
The path name of the file that contains the image to be
contained in the icon
Menu Label
(Custom Menu only)
The label that appears in the Custom menu
See also:
- Visual Java Overview
- The Visual Menu
- 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