Creating a panel with a tool bar
To add a tool bar to a panel, follow these steps:
-
From the File Builder window, click
.
This opens the Tool Bar Builder. From here you can define the items
contained within the tool bar. You must repeat this step if you want to
include more than one tool bar on your panel. Right-click on any menu item
to modify it's properties. For example, add an icons to the tool bar item
from the Properties window.
-
Create the Java panel to which you want to
add the tool bar.
-
From the Panel Builder window, click
to open the Tool Bar Editor.
-
From the Tool Bar Editor, click
to add the tool bar you defined in the first step. The Resource
value specifies in which PDML file the tool bar is defined. To select a
different PDML file from the drop down list, the file must be open in the
GUI Builder. The Name value specifies the name of the tool bar to
include in the tool bar. To change either of these values, double-click
in the appropriate field and select a different PDML file or tool bar from
the drop down list. You can also select an existing menu as a tool
bar
-
Click
to
preview what the menu bar will look like.
Click here for more things you can do with
the GUI Builder.