aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/swing/JRadioButton.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/swing/JRadioButton.java')
-rw-r--r--libjava/javax/swing/JRadioButton.java64
1 files changed, 39 insertions, 25 deletions
diff --git a/libjava/javax/swing/JRadioButton.java b/libjava/javax/swing/JRadioButton.java
index 21e545e..b1f733a 100644
--- a/libjava/javax/swing/JRadioButton.java
+++ b/libjava/javax/swing/JRadioButton.java
@@ -44,33 +44,47 @@ public class JRadioButton extends JToggleButton
{
private static final long serialVersionUID = 7751949583255506856L;
- public JRadioButton()
- {
- this(null, null);
- }
- public JRadioButton(Action a)
- {
- this();
- setAction(a);
- }
-
- public JRadioButton(Icon icon)
- {
- this(null, icon);
- }
+ public JRadioButton()
+ {
+ this(null, null);
+ }
+
+ public JRadioButton(Action a)
+ {
+ this();
+ setAction(a);
+ }
+
+ public JRadioButton(Icon icon)
+ {
+ this(null, icon);
+ }
- public JRadioButton(String text)
- {
- this(text, null);
- }
+ public JRadioButton(Icon icon, boolean selected)
+ {
+ this(null, icon, selected);
+ }
+
+ public JRadioButton(String text)
+ {
+ this(text, null);
+ }
+
+ public JRadioButton(String text, boolean selected)
+ {
+ this(text, null, selected);
+ }
- public JRadioButton(String text, Icon icon)
- {
- super(text, icon);
- borderPainted = false;
- contentAreaFilled = false;
- }
-
+ public JRadioButton(String text, Icon icon)
+ {
+ super(text, icon);
+ borderPainted = false;
+ contentAreaFilled = false;
+ }
+
+ public JRadioButton(String text, Icon icon, boolean selected)
+ {
+ }
public AccessibleContext getAccessibleContext()
{