JToolBar
- class javax.swing..JToolBar public class JToolBar extends JComponent implements SwingConstants , Accessible Tree:java.lang.Object - java.awt.Component - java.awt.Container - javax.swing.JComponent - javax.swing.JToolBar JToolBar provides a component which is useful for displaying commonly used Actions or controls. It can be dragged out into a separate window by the user (unless the floatable property is set to false). In order for drag-out to work correctly, it is recommended that you add JToolBar instances to one of the four 'sides' of a container whose layout manager is a BorderLayout, and do not add children to any of the other four 'sides'. JToolBar() - Constructor for class javax.swing.JToolBar public JToolBar () Create a new toolbar. Orientration defaults to horizontal. JToolBar(int) - Constructor for class javax.swing.JToolBar public JToolBar (int orientation) Create a new toolbar.Parameters: orientation - The initial orientation (HORIZONTAL/VERTICAL) | ||||
Search Dictionary:
