summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTania Bento <tbento@redhat.com>2006-06-14 13:59:27 +0000
committerTania Bento <tbento@redhat.com>2006-06-14 13:59:27 +0000
commit104821ed7863b6b839653089327ba9dffb308e2c (patch)
tree654c7abe3989fdf1b04023519f98bdaff1af70a7
parent92119a70361ba18e0f291ff62b1ee7cc8c736f31 (diff)
downloadclasspath-104821ed7863b6b839653089327ba9dffb308e2c.tar.gz
2006-06-14 Tania Bento <tbento@redhat.com>
* javax/swing/AbstractButton.java (AbstractButton): Set focusable to false, not true.
-rw-r--r--javax/swing/AbstractButton.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/javax/swing/AbstractButton.java b/javax/swing/AbstractButton.java
index 9b2b526f3..3893ebd17 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(true);
+ setFocusable(false);
setAlignmentX(CENTER_ALIGNMENT);
setAlignmentY(CENTER_ALIGNMENT);
setDisplayedMnemonicIndex(-1);