542 |
} |
} |
543 |
|
|
544 |
/** |
/** |
|
* This method returns the preferred size of the given JComponent for this |
|
|
* UI. |
|
|
* |
|
|
* @param c The JComponent to find a preferred size for. |
|
|
* |
|
|
* @return The preferred size for this UI. |
|
|
*/ |
|
|
public Dimension getPreferredSize(JComponent c) |
|
|
{ |
|
|
return toolBar.getLayout().preferredLayoutSize(c); |
|
|
} |
|
|
|
|
|
/** |
|
545 |
* This method installs the needed components for the JToolBar. |
* This method installs the needed components for the JToolBar. |
546 |
*/ |
*/ |
547 |
protected void installComponents() |
protected void installComponents() |