diff options
Diffstat (limited to 'libjava/javax/swing/JToggleButton.java')
-rw-r--r-- | libjava/javax/swing/JToggleButton.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/javax/swing/JToggleButton.java b/libjava/javax/swing/JToggleButton.java index 63972c1..1b05f31 100644 --- a/libjava/javax/swing/JToggleButton.java +++ b/libjava/javax/swing/JToggleButton.java @@ -74,7 +74,7 @@ public class JToggleButton extends AbstractButton implements Accessible super(text, icon); // Create the model - setModel(new ToggleButtonModel(this)); + setModel(new ToggleButtonModel()); model.setSelected(selected); } |