New Mariner skin for Swing applications

July 12th, 2010 | 7 Comments »

In addition to providing platform-specific key bindings, bug fixing and better integration with the Flamingo component suite, Substance 6.1 (code-named Trinidad) will introduce a new skin named Mariner. To use the new skin in your application, you have the following options:

  • -Dswing.defaultlaf=org.pushingpixels.substance.api.skin.SubstanceMarinerLookAndFeel
  • UIManager.setLookAndFeel(new SubstanceMarinerLookAndFeel())
  • UIManager.setLookAndFeel(“org.pushingpixels.substance.api.skin.SubstanceMarinerLookAndFeel”)
  • SubstanceLookAndFeel.setSkin(new MarinerSkin())

Here are a few screenshots of Mariner in action. A few basic controls, along with a decorated title pane, a menu bar and a toolbar:

https://substance.dev.java.net/release-info/6.1/mariner1.png

A tree and a list with a few selected items

https://substance.dev.java.net/release-info/6.1/mariner2.png

Comboboxes:

https://substance.dev.java.net/release-info/6.1/mariner-combos.png

Text fields:

https://substance.dev.java.net/release-info/6.1/mariner-textfields.png

Sliders:

https://substance.dev.java.net/release-info/6.1/mariner-sliders.png

Ribbon:

https://substance.dev.java.net/release-info/6.1/mariner-ribbon.png

A larger UI with a more controls (tabs, scroll bars, status bar and task pane container from SwingX):

https://substance.dev.java.net/release-info/6.1/mariner-overview.png

If you want to test the new Mariner skin in your application, you’re more than welcome to take the latest 6.1dev drop of Substance code-named Trinidad for a ride and let me know if you run into any exceptions, visual artifacts or anything else.


Related posts:

  1. New Creme Coffee skin for Swing applications Just before the feature freeze of Substance 4.1, i added a new Coffee Cream skin...
  2. New Dust skin for Swing applications In addition to bug fixes and performance improvements in Substance 5.2 (code-named Quebec), i’m planning...
  3. New Autumn skin for Swing applications It has been added last October, but only now i feel that it has been...
  4. New Twilight skin for Swing applications In addition to bug fixes and performance improvements in Substance 5.2 (code-named Quebec), there are...


7 Comments on “New Mariner skin for Swing applications”

  1. 1 Andres Almiray said at 9:48 pm on July 12th, 2010:

    Hi Kirill, is it Mariner or Gemini? :-)

  2. 2 Majid said at 10:34 pm on July 12th, 2010:

    thanks, it,s nice.
    do you have any article about how i can to change the color of substance skins and build mine.
    cheers

  3. 3 Jim Morrison said at 12:36 am on July 13th, 2010:

    Looks beautiful
    What’s the minimum Java version you need to run this on?

  4. 4 Eddy said at 3:27 am on July 13th, 2010:

    With the dev drop I’ve downloaded, swing.defaultlaf=org.jvnet.substance.api.skin.SubstanceGeminiLookAndFeel
    did not work. But swing.defaultlaf=org.pushingpixels.substance.api.skin.SubstanceGeminiLookAndFeel did work.

  5. 5 Kirill Grouchnikov said at 7:24 am on July 13th, 2010:

    Andres – should be fixed. Majid – read the documentation. Jim – the runtime requirement is Java 6.

    Thanks, Kirill

  6. 6 Kirill Grouchnikov said at 8:37 am on July 13th, 2010:

    Eddy – the correct name is org.pushingpixels.substance.api.skin.SubstanceMarinerLookAndFeel. The blog entry has been updated.

  7. 7 Java desktop links of the week, July 19 | Jonathan Giles said at 2:41 pm on July 18th, 2010:

    [...] blogged about dynamic resizing of ribbon components in Flamingo 5.0. He also showed off the latest Mariner skin, which is included as part of Substance 6.1. Finally, he showed off the release information [...]