summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Kennke <roman@kennke.org>2005-11-17 12:14:34 +0000
committerRoman Kennke <roman@kennke.org>2005-11-17 12:14:34 +0000
commit8f9528dabee6d1253050b55b071e79fc1e83f3ee (patch)
tree1ec1219fb77b79a1d2c39c7a2cf5af11d8b47951
parent73c4beee6d1a672b2d77bb9777b8eb1d0f48f9f1 (diff)
downloadclasspath-8f9528dabee6d1253050b55b071e79fc1e83f3ee.tar.gz
2005-11-17 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicButtonUI.java (installDefaults): Don't handle the Button.rollover property here, this is Metal specific and is handled in MetalButtonUI.
-rw-r--r--ChangeLog6
-rw-r--r--javax/swing/plaf/basic/BasicButtonUI.java1
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d6fe4ab8e..8528cebf1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2005-11-17 Roman Kennke <kennke@aicas.com>
+ * javax/swing/plaf/basic/BasicButtonUI.java
+ (installDefaults): Don't handle the Button.rollover property here,
+ this is Metal specific and is handled in MetalButtonUI.
+
+2005-11-17 Roman Kennke <kennke@aicas.com>
+
* javax/swing/JList.java
(locationToIndex): Clarified API comment.
diff --git a/javax/swing/plaf/basic/BasicButtonUI.java b/javax/swing/plaf/basic/BasicButtonUI.java
index 3102b7a72..7a63331b9 100644
--- a/javax/swing/plaf/basic/BasicButtonUI.java
+++ b/javax/swing/plaf/basic/BasicButtonUI.java
@@ -160,7 +160,6 @@ public class BasicButtonUI extends ButtonUI
b.setIconTextGap(UIManager.getInt(prefix + "textIconGap"));
b.setInputMap(JComponent.WHEN_FOCUSED,
(InputMap) UIManager.get(prefix + "focusInputMap"));
- b.setRolloverEnabled(UIManager.getBoolean(prefix + "rollover"));
}
/**