classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: BasicLookAndFeel


From: David Gilbert
Subject: [cp-patches] FYI: BasicLookAndFeel
Date: Fri, 09 Sep 2005 06:16:29 +0000
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050728)

I committed this patch to replace a default that was accidentally removed (and stops the buttons from showing on the scrollbars under the MetalLookAndFeel):

2005-09-09  David Gilbert  <address@hidden>

        * javax/swing/plaf/basic/BasicLookAndFeel.java
        (initComponentDefaults): re-added 'ScrollBar.width' default.

Regards,

Dave
Index: javax/swing/plaf/basic/BasicLookAndFeel.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,v
retrieving revision 1.53
diff -u -r1.53 BasicLookAndFeel.java
--- javax/swing/plaf/basic/BasicLookAndFeel.java        8 Sep 2005 13:51:18 
-0000       1.53
+++ javax/swing/plaf/basic/BasicLookAndFeel.java        9 Sep 2005 05:11:27 
-0000
@@ -742,6 +742,7 @@
       "ScrollBar.thumbShadow", new ColorUIResource(shadow),
       "ScrollBar.track", new ColorUIResource(light),
       "ScrollBar.trackHighlight", new ColorUIResource(shadow),
+      "ScrollBar.width", new Integer(16),
       "ScrollPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] {
         "PAGE_UP", "scrollUp",
         "KP_LEFT", "unitScrollLeft",

reply via email to

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