Use a JToolBarButton bean to provide a JButton bean for a tool bar.
VisualAge customizes the JButton bean for a tool bar by presetting certain
properties as follows:
Property | Setting |
---|---|
icon | question mark |
text | null |
margin | 0,0,0,0 |
horizontalTextPosition | CENTER |
verticalTextPosition | BOTTOM |
The JToolBarButton bean is provided as a convenience. VisualAge generates code for a JButton bean.
Adding a Menu or Tool Bar
Menu and Tool Bar Beans
Beans for Visual Composition