TOC PREV NEXT INDEX



ToolBar (JToolBar)


A JToolBar displays a series of components in a row. The components are laid out in a similar fashion to a FlowLayout. The JToolBar adds the special capability that it can be dragged off of the application window, and displayed in a floating dialog. The dialog can then be positioned anywhere on the user's screen. The initial orientation of the JToolBar can be chosen (horizontal or vertical) and the border can be optionally drawn.

The JToolBar is especially versatile when placed in a BorderLayout. If it is initially placed in any of the border locations (not the Center) and no other components are in the border locations (uncheck 'Show empty panels' for this to work!) the user can drag the toolbar to any of these four locations. This behavior can be disabled by deselecting 'Allow Floatable'.


Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com
TOC PREV NEXT INDEX