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