summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gilbert <david.gilbert@object-refinery.com>2006-03-06 21:08:48 +0000
committerDavid Gilbert <david.gilbert@object-refinery.com>2006-03-06 21:08:48 +0000
commitf7bf114cc613dd92dddd4c635e06eacfc5dddbfc (patch)
treeb45b055a0d8cb3a315c3ac502107e5f40c913271
parentea1be1847988bc3ea1d785d400fda2e952d49408 (diff)
downloadclasspath-f7bf114cc613dd92dddd4c635e06eacfc5dddbfc.tar.gz
2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalLookAndFeel.java (initComponentDefaults): Use Boolean.TRUE for 'CheckBoxMenuItem.borderPainted'. ----------------------------------------------------------------------
-rw-r--r--ChangeLog6
-rw-r--r--javax/swing/plaf/metal/MetalLookAndFeel.java4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3af1f7d20..c9afc1f08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/plaf/metal/MetalLookAndFeel.java
+ (initComponentDefaults): Use Boolean.TRUE for
+ 'CheckBoxMenuItem.borderPainted'.
+
2006-03-06 Lillian Angel <langel@redhat.com>
PR classpath/26569
diff --git a/javax/swing/plaf/metal/MetalLookAndFeel.java b/javax/swing/plaf/metal/MetalLookAndFeel.java
index e84644615..5e754f517 100644
--- a/javax/swing/plaf/metal/MetalLookAndFeel.java
+++ b/javax/swing/plaf/metal/MetalLookAndFeel.java
@@ -1,5 +1,5 @@
/* MetalLookAndFeel.java
- Copyright (C) 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2005, 2006, Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -899,7 +899,7 @@ public class MetalLookAndFeel extends BasicLookAndFeel
"CheckBoxMenuItem.acceleratorForeground", getAcceleratorForeground(),
"CheckBoxMenuItem.acceleratorSelectionForeground", getAcceleratorSelectedForeground(),
"CheckBoxMenuItem.background", getMenuBackground(),
- "CheckBoxMenuItem.borderPainted", new Boolean(true),
+ "CheckBoxMenuItem.borderPainted", Boolean.TRUE,
"CheckBoxMenuItem.commandSound", "sounds/MenuItemCommand.wav",
"CheckBoxMenuItem.checkIcon", MetalIconFactory.getCheckBoxMenuItemIcon(),
"CheckBoxMenuItem.disabledForeground", getMenuDisabledForeground(),