Hi there,

Am 10.3.2006 schrieb "David Gilbert"
<[EMAIL PROTECTED]>:

>Roman Kennke wrote:
>
>>I added OceanTheme support to the JScrollBar. AFAICS this is the last big
>>missing thing in the OceanTheme that was missing. There are still some
>>smaller glitches but all in all it already looks quite consistent. What
>>do you think about making the OceanTheme the default now?
>>
>>
>>
>I couldn't try it (easily) because our Free Swing Demo seems broken at
>present - see the exception at the end of this mail (I think something
>was already posted about it).

This is fixed now.

>But in any case I would say go ahead and switch to Ocean as the default
>- if it causes any trouble we can either fix it or switch back before
>the next release.

Done. Here is some OceanTheme eye candy (this is the SwingSet2 demo from
JDK5!):

http://kennke.org/~roman/swingset2-1.5.png

2006-03-10  Roman Kennke  <[EMAIL PROTECTED]>

        * javax/swing/plaf/metal/MetalLookAndFeel.java
        (createDefaultTheme): Set OceanTheme as default metal theme.


/Roman
Index: javax/swing/plaf/metal/MetalLookAndFeel.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalLookAndFeel.java,v
retrieving revision 1.79
diff -u -r1.79 MetalLookAndFeel.java
--- javax/swing/plaf/metal/MetalLookAndFeel.java	6 Mar 2006 21:08:48 -0000	1.79
+++ javax/swing/plaf/metal/MetalLookAndFeel.java	10 Mar 2006 22:18:00 -0000
@@ -90,7 +90,7 @@
   protected void createDefaultTheme()
   {
     if (theme == null)
-      setCurrentTheme(new DefaultMetalTheme());
+      setCurrentTheme(new OceanTheme());
   }
 
   /**

Reply via email to