diff options
Diffstat (limited to 'libjava/javax/swing/plaf/basic/BasicToolBarUI.java')
-rw-r--r-- | libjava/javax/swing/plaf/basic/BasicToolBarUI.java | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/libjava/javax/swing/plaf/basic/BasicToolBarUI.java b/libjava/javax/swing/plaf/basic/BasicToolBarUI.java index 4fb142b..99e4475 100644 --- a/libjava/javax/swing/plaf/basic/BasicToolBarUI.java +++ b/libjava/javax/swing/plaf/basic/BasicToolBarUI.java @@ -157,13 +157,11 @@ public class BasicToolBarUI extends ToolBarUI implements SwingConstants /** * This method creates a new BasicToolBarUI object for the given JToolBar. - * - * @param b The JToolBar to represent with this UI. */ - public BasicToolBarUI(JToolBar b) - { - super(); - } + public BasicToolBarUI() + { + super(); + } /** * This method returns whether the JToolBar can dock at the given position. @@ -351,10 +349,10 @@ public class BasicToolBarUI extends ToolBarUI implements SwingConstants * * @return A new UI delegate. */ - public static ComponentUI createUI(JComponent c) - { - return new BasicToolBarUI((JToolBar) c); - } + public static ComponentUI createUI(JComponent c) + { + return new BasicToolBarUI(); + } /** * This method is called to drag the DragWindow around when the JToolBar is |