New Mariner skin for Swing applications
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:
A tree and a list with a few selected items
Comboboxes:
Text fields:
Sliders:
Ribbon:
A larger UI with a more controls (tabs, scroll bars, status bar and task pane container from SwingX):
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.