JToolBar (Swing)

Use a JToolBar bean JToolBar 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.


Related procedures
Adding a menu or tool bar

Related references
Sun's JToolBar bean documentation
Menu and tool bar beans
Beans for visual composition