summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTania Bento <tbento@redhat.com>2006-06-15 18:15:10 +0000
committerTania Bento <tbento@redhat.com>2006-06-15 18:15:10 +0000
commit496061e05921c9a5bccae8ebb59029e61bd4bff4 (patch)
tree6dd06fceea96d2de9d7170a191084d585501c3a4
parent7f936c3ec1ccb4c423112c6f54c281625ebe3ad9 (diff)
downloadclasspath-496061e05921c9a5bccae8ebb59029e61bd4bff4.tar.gz
2006-06-15 Tania Bento <tbento@redhat.com>
* javax/swing/JRadioButtonMenuItem.java (JRadioButtonMenuItem): Should set 'focusable' to false.
-rw-r--r--ChangeLog10
-rw-r--r--javax/swing/JRadioButtonMenuItem.java1
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b55fa631..25c5c9e01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,16 @@
2006-06-15 Tania Bento <tbento@redhat.com>
+ * javax/swing/JRadioButtonMenuItem.java
+ (JRadioButtonMenuItem): Should set 'focusable' to false.
+
+2006-06-15 Tania Bento <tbento@redhat.com>
+
+ * javax/swing/JCheckBoxMenuItem.java
+ (JCheckBoxMenuItem): Should set 'focusable' to false.
+
+2006-06-15 Tania Bento <tbento@redhat.com>
+
* javax/swing/AbstractButton.java:
(AbstractButton): 'Focusable' should be set to true and not false.
diff --git a/javax/swing/JRadioButtonMenuItem.java b/javax/swing/JRadioButtonMenuItem.java
index 0d7c1d105..13ef189a5 100644
--- a/javax/swing/JRadioButtonMenuItem.java
+++ b/javax/swing/JRadioButtonMenuItem.java
@@ -144,6 +144,7 @@ public class JRadioButtonMenuItem extends JMenuItem implements Accessible
super(text, icon);
setModel(new JToggleButton.ToggleButtonModel());
model.setSelected(selected);
+ setFocusable(false);
}
/**