diff options
author | Roman Kennke <roman@kennke.org> | 2005-11-14 12:37:06 +0000 |
---|---|---|
committer | Roman Kennke <roman@kennke.org> | 2005-11-14 12:37:06 +0000 |
commit | b0c1643733fd904f8a30a690f5d1219c4ef07862 (patch) | |
tree | 601a072a451ec81d2973f64b69cee2fcaaffc9f5 | |
parent | 788e4fd1f5001c9afccb70509effa9e2e27368c1 (diff) | |
download | classpath-b0c1643733fd904f8a30a690f5d1219c4ef07862.tar.gz |
2005-11-14 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Fixed some UI defaults used by ProgressBar.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | javax/swing/plaf/basic/BasicLookAndFeel.java | 15 |
2 files changed, 13 insertions, 7 deletions
@@ -1,5 +1,10 @@ 2005-11-14 Roman Kennke <kennke@aicas.com> + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Fixed some UI defaults used by ProgressBar. + +2005-11-14 Roman Kennke <kennke@aicas.com> + * javax/swing/plaf/basic/BasicTextFieldUI.java (propertyChange): Get new value from the PropertyChangeEvent and not from the component itself (since when it receives the event, diff --git a/javax/swing/plaf/basic/BasicLookAndFeel.java b/javax/swing/plaf/basic/BasicLookAndFeel.java index ab779945b..8ebe65035 100644 --- a/javax/swing/plaf/basic/BasicLookAndFeel.java +++ b/javax/swing/plaf/basic/BasicLookAndFeel.java @@ -707,16 +707,17 @@ public abstract class BasicLookAndFeel extends LookAndFeel "PopupMenu.border", new BorderUIResource.BevelBorderUIResource(0), "PopupMenu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "PopupMenu.foreground", new ColorUIResource(darkShadow), - "ProgressBar.background", new ColorUIResource(light), - "ProgressBar.border", new BorderUIResource.LineBorderUIResource(Color.darkGray), + "ProgressBar.background", new ColorUIResource(Color.LIGHT_GRAY), + "ProgressBar.border", + new BorderUIResource.LineBorderUIResource(Color.GREEN, 2), "ProgressBar.cellLength", new Integer(1), "ProgressBar.cellSpacing", new Integer(0), "ProgressBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), - "ProgressBar.foreground", new ColorUIResource(Color.black), - "ProgressBar.selectionBackground", new ColorUIResource(Color.black), - "ProgressBar.selectionForeground", new ColorUIResource(light), - "ProgressBar.repaintInterval", new Integer(250), - "ProgressBar.cycleTime", new Integer(6000), + "ProgressBar.foreground", new ColorUIResource(0, 0, 128), + "ProgressBar.selectionBackground", new ColorUIResource(0, 0, 128), + "ProgressBar.selectionForeground", new ColorUIResource(Color.LIGHT_GRAY), + "ProgressBar.repaintInterval", new Integer(50), + "ProgressBar.cycleTime", new Integer(3000), "RadioButton.background", new ColorUIResource(light), "RadioButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), |