Use a JToolBar bean
to provide a graphical set of tool choices. When you add a JToolBar
bean, a JToolBarButton bean is automatically added as the first
component. Add JToolBarButtons and other components to the tool
bar. You can also add subclasses of AbstractAction to the free-form
surface and add them to the tool bar in the tool bar get method.
Adding a menu or tool bar
Sun's JToolBar bean documentation
Menu and tool bar beans
Beans for visual composition