summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTania Bento <tbento@redhat.com>2006-06-15 17:37:04 +0000
committerTania Bento <tbento@redhat.com>2006-06-15 17:37:04 +0000
commit9490ae0cc1d1afe2a39d0f35a5034e30ad1866e5 (patch)
treeaa31eea8bf5c6bbb05ce9f071a2b76eafdeb761e
parent68459202ddbe1519e46a51c8974d23dc786babb0 (diff)
downloadclasspath-9490ae0cc1d1afe2a39d0f35a5034e30ad1866e5.tar.gz
2006-06-15 Tania Bento <tbento@redhat.com>
* javax/swing/AbstractButton.java: (AbstractButton): 'Focusable' should be set to true and not false.
-rw-r--r--ChangeLog5
-rw-r--r--javax/swing/AbstractButton.java2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d76be4df..97f13a37e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-15 Tania Bento <tbento@redhat.com>
+
+ * javax/swing/AbstractButton.java:
+ (AbstractButton): 'Focusable' should be set to true and not false.
+
2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/ManagementFactory.java:
diff --git a/javax/swing/AbstractButton.java b/javax/swing/AbstractButton.java
index 3893ebd17..9b2b526f3 100644
--- a/javax/swing/AbstractButton.java
+++ b/javax/swing/AbstractButton.java
@@ -866,7 +866,7 @@ public abstract class AbstractButton extends JComponent
borderPainted = true;
contentAreaFilled = true;
focusPainted = true;
- setFocusable(false);
+ setFocusable(true);
setAlignmentX(CENTER_ALIGNMENT);
setAlignmentY(CENTER_ALIGNMENT);
setDisplayedMnemonicIndex(-1);