New Mariner skin for Swing applications

July 12th, 2010

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.