The toolbar sample aligns the tool bar vertically and horizontally using the JFToolbar class.
The toolbar sample uses the following classes:
JFToolbar
JFImageButton
JFChoice
Figure 1.25 Toolbar sample
Operation method
Buttons
Clicking each button displays the type of button clicked on the status bar.
Tool tip show
Clicking a check box displays the tool tip when moving the mouse on the toolbar.
Changing the tool tip contents
The 15 items corresponding to each button have been defined in the list box of Choice. Changing the character string displayed in the input field under the selected item displays the tool tip with the changed character string. Specify the character string using up to 10 characters.
Source codes
Toolbar sample:"Sample Storage Destinations"/jftoolbar/JFToolbarSample.java