[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: fixlet for BasicLookAndFeel
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: fixlet for BasicLookAndFeel |
Date: |
Tue, 12 Jul 2005 18:02:44 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050331) |
This corrects the color values for Basic buttons.
2005-07-12 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Corrected color values for BasicL&F
buttons.
/Roman
Index: javax/swing/plaf/basic/BasicLookAndFeel.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,v
retrieving revision 1.30
diff -u -r1.30 BasicLookAndFeel.java
--- javax/swing/plaf/basic/BasicLookAndFeel.java 12 Jul 2005 15:23:11
-0000 1.30
+++ javax/swing/plaf/basic/BasicLookAndFeel.java 12 Jul 2005 15:59:35
-0000
@@ -253,7 +253,7 @@
"AbstractUndoableEdit.undoText", "Undo",
"AbstractUndoableEdit.redoText", "Redo",
- "Button.background", new ColorUIResource(light),
+ "Button.background", new ColorUIResource(Color.LIGHT_GRAY),
"Button.border",
new UIDefaults.LazyValue()
{
@@ -262,17 +262,17 @@
return BasicBorders.getButtonBorder();
}
},
- "Button.darkShadow", new ColorUIResource(shadow),
+ "Button.darkShadow", new ColorUIResource(Color.BLACK),
"Button.focusInputMap", new UIDefaults.LazyInputMap(new Object[] {
"SPACE", "pressed",
"released SPACE", "released"
}),
"Button.font", new FontUIResource("Dialog", Font.PLAIN, 12),
- "Button.foreground", new ColorUIResource(darkShadow),
- "Button.highlight", new ColorUIResource(highLight),
- "Button.light", new ColorUIResource(highLight),
+ "Button.foreground", new ColorUIResource(Color.BLACK),
+ "Button.highlight", new ColorUIResource(Color.WHITE),
+ "Button.light", new ColorUIResource(Color.LIGHT_GRAY),
"Button.margin", new InsetsUIResource(2, 2, 2, 2),
- "Button.shadow", new ColorUIResource(shadow),
+ "Button.shadow", new ColorUIResource(Color.GRAY),
"Button.textIconGap", new Integer(4),
"Button.textShiftOffset", new Integer(0),
"CheckBox.background", new ColorUIResource(light),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: fixlet for BasicLookAndFeel,
Roman Kennke <=