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.
You should not use a JToolBar bean with AWT components. Although Swing and AWT beans can be mixed, it is inadvisable.
Adding a Menu or Tool Bar
Menu and Tool Bar Beans
Beans for Visual Composition