diff options
author | Tania Bento <tbento@redhat.com> | 2006-06-15 17:37:04 +0000 |
---|---|---|
committer | Tania Bento <tbento@redhat.com> | 2006-06-15 17:37:04 +0000 |
commit | 9490ae0cc1d1afe2a39d0f35a5034e30ad1866e5 (patch) | |
tree | aa31eea8bf5c6bbb05ce9f071a2b76eafdeb761e | |
parent | 68459202ddbe1519e46a51c8974d23dc786babb0 (diff) | |
download | classpath-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | javax/swing/AbstractButton.java | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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); |