aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/swing/JToggleButton.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/swing/JToggleButton.java')
-rw-r--r--libjava/javax/swing/JToggleButton.java2
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);
}