Palettes
A palette is a collection of resources (such as images, static or dynamic HTML elements, and components). You can drag elements from a palette to a component to use them. You can also drag elements from a component to a palette to store them. on the toolbar or choose Tools
Palette.
New Palette. A panel appears, asking you to specify a location to save the palette. (A palette is represented on disk as a folder with the extension .wbpalette.) The palette appears in the palette window with the default palette icon
. To change the palette's icon, see "Changing a Palette Icon".
To add an existing palette to the palette window:
If the palette's background is gray, you can't make any changes to it. To enable editing, choose Palettes Make Editable. The palette's background changes to white and its title is appended with "Alt-drag to insert item."
The cursor changes to and displays in the palette when you are done dragging. You can change the title of the item by selecting its name and typing. To change the item's icon, see "Changing a Palette Icon".
For example, to add a component to a palette, you would drag its .wo folder to the palette.
To copy an item from a palette to the component window:
Note: If the palette is editable, you can drag the item to the window, but it will disappear from the palette.
You can use any image file recognized by WebObjects Builder (such as a .gif, .tif or .jpg file) to change the icon of a palette or of any item in the palette.