classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: MetalLookAndFeel default added


From: David Gilbert
Subject: [cp-patches] FYI: MetalLookAndFeel default added
Date: Thu, 13 Oct 2005 12:21:51 +0000
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050728)

I committed this patch to fix a small problem I noticed while working on the MetalFileChooserUI:

2005-10-13  David Gilbert  <address@hidden>

        * javax/swing/plaf/metal/MetalLookAndFeel.java
        (initComponentDefaults): added default value for
        'List.focusCellHighlightBorder'.

Regards,

Dave
Index: javax/swing/plaf/metal/MetalLookAndFeel.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalLookAndFeel.java,v
retrieving revision 1.64
diff -u -r1.64 MetalLookAndFeel.java
--- javax/swing/plaf/metal/MetalLookAndFeel.java        12 Oct 2005 16:47:47 
-0000      1.64
+++ javax/swing/plaf/metal/MetalLookAndFeel.java        13 Oct 2005 11:11:52 
-0000
@@ -49,6 +49,7 @@
 import javax.swing.plaf.ColorUIResource;
 import javax.swing.plaf.FontUIResource;
 import javax.swing.plaf.InsetsUIResource;
+import javax.swing.plaf.BorderUIResource.LineBorderUIResource;
 import javax.swing.plaf.basic.BasicLookAndFeel;
 
 
@@ -893,6 +894,8 @@
       "List.foreground", getUserTextColor(),
       "List.selectionBackground", getTextHighlightColor(),
       "List.selectionForeground", getHighlightedTextColor(),
+      "List.focusCellHighlightBorder", 
+        new LineBorderUIResource(MetalLookAndFeel.getFocusColor()),
 
       "Menu.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 10),
       "Menu.acceleratorForeground", getAcceleratorForeground(),

reply via email to

[Prev in Thread] Current Thread [Next in Thread]