New Dust skin for Swing applications

March 18th, 2009 | 11 Comments »

In addition to bug fixes and performance improvements in Substance 5.2 (code-named Quebec), i’m planning to introduce a few new skins. The first is Dust which is based on the artwork done by Rico Sta Cruz and Kido Mariano for Ubuntu. If you want to take it for a spin, click on the WebStart button below and change the skin to Dust from the “Skins” menu:

To use it in your application, you have the following three options:

  • -Dswing.defaultlaf=org.jvnet.substance.skin.SubstanceDustLookAndFeel
  • UIManager.setLookAndFeel(new SubstanceDustLookAndFeel())
  • UIManager.setLookAndFeel("org.jvnet.substance.skin.SubstanceDustLookAndFeel");

Here are a few screenshots that show this new skin. A small frame with a tabbed pane and a few different controls:

A frame with menu bar, tool bar and status bar from SwingX project:

A thumbnail of the main Substance test application (click for full-size view):

As with all Substance core skins, this is work in progress and will be polished over time. Dust is also the first skin that is using the experimental color schemes definition file. While the existing Autumn and Nebula skins have been moved to use such files as well, this functionality is planned to be officially supported in the next major Substance release.

In the meantime, you’re more than welcome to take the latest 5.2dev drop for a spin and leave your comments.


Related posts:

  1. New Dust Coffee skin for Swing applications Substance 5.2 (code-named Quebec) is going to have a few new skins. About a week...
  2. New Twilight skin for Swing applications In addition to bug fixes and performance improvements in Substance 5.2 (code-named Quebec), there are...
  3. New Creme Coffee skin for Swing applications Just before the feature freeze of Substance 4.1, i added a new Coffee Cream skin...
  4. New Graphite Aqua skin for Swing applications In addition to the usual bug fixes and getting the internal implementation ready for the...


11 Comments on “New Dust skin for Swing applications”

  1. 1 ehab refaat said at 11:39 pm on March 18th, 2009:

    if i want to user the other skins how to get it’s type
    if you please to write it’s code

  2. 2 Andrey Eremchenko said at 3:37 am on March 19th, 2009:

    Looks good!

    But there are some problems with contrast on dark panels: http://tinyurl.com/ccuept

    Also some problems with Flamingo components: http://tinyurl.com/cu8k8c and http://tinyurl.com/d4wuet

  3. 3 Kai said at 5:26 am on March 19th, 2009:

    Really cool.. thanks a lot..

  4. 4 Mimoun said at 6:06 am on March 19th, 2009:

    hi,

    very very fast and cool skin :D !!

    great work

  5. 5 Java desktops links of the week, March 23 | Jonathan Giles said at 3:38 pm on March 22nd, 2009:

    [...] Grouchnikov (@kirillcool ) has created a new skin for his Substance look and feel project, called Dust [...]

  6. 6 Martin said at 4:16 pm on March 22nd, 2009:

    Not working under Linux.

    JNLP JREDesc in Component ignored: https://pushingpixels.dev.java.net/webstart/common-forms.jnlp
    JNLP JREDesc in Component ignored: https://substance-swingx.dev.java.net/webstart/substance-swingx-core.jnlp
    Exception in thread “AWT-EventQueue-0″ java.lang.NoClassDefFoundError: org/jvnet/lafwidget/LAFAdapter
    at test.Check$12.run(Check.java:631)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: org.jvnet.lafwidget.LAFAdapter
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    … 9 more

  7. 7 Kirill Grouchnikov said at 4:30 pm on March 22nd, 2009:

    Martin,

    Please clean your WebStart cache and try again. This exception should be fixed.

    Thanks
    Kirill

  8. 8 john said at 8:06 am on March 23rd, 2009:

    Hi,
    nice skin!
    Any change to reimplement in 5.2 the tabbed horizontal text ? I miss this from 4.2 version.
    Thanks

  9. 9 Kirill Grouchnikov said at 9:10 am on March 23rd, 2009:

    John,

    If you’re talking about left / right placed tabs, there are no plans in bringing the functionality of horizontal orientation back.

    Thanks
    Kirill

  10. 10 john said at 10:33 am on March 23rd, 2009:

    Hi Kirill,
    that´s exactly what I´m talking. Can I ask why you have abandoned it ? It´s essential to my application… I like very much substance, but without this tabs, I can´t upgrade to vs 5 :(

    thanks and keep the good work !

  11. 11 Kirill Grouchnikov said at 10:49 am on March 23rd, 2009:

    John,

    Please continue this discussion in the “users” mailing list of the project.

    Thanks
    Kirill