July 12th, 2010

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:

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.

June 28th, 2010

This day in history

Five years ago, on June 28 2005, Scott McNealy has announced that Sun is acquiring SeeBeyond. Along with that acquisition came a private side project that has gathered an immense momentum inside Sun, undergone name rebranding and took an unexpected front stage at JavaOne two years later. One man’s vision, through perseverance and dedication, still lives on to this day. No matter what my thoughts on JavaFX are, I can’t help but respect that.

June 27th, 2010

New Office Black 2007 skin in Substance 6.1

The latest 6.1dev drop of Substance look-and-feel library (code named Trinidad) completes the collection of skins that can be used on the Flamingo ribbon component by adding Office Black 2007 skin to the existing Office Silver 2007 and Office Blue 2007 skins. Here is how the ribbon looks under Office Black 2007 skin:

https://substance.dev.java.net/release-info/6.1/office-black-2007-1.png

This skin lives (as all others) in the org.pushingpixels.substance.api.skin and can be used with the following:

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

As with the existing Office skins, the new skin is exclusively targeting the ribbon component. Its usage on the core Swing components is not recommended. The next major Substance release will move all three Office skins to the Substance Flamingo plugin.

If you want to test the new Office Black 2007 skin in your ribbon, you will need the following:

June 26th, 2010

Improving the integration between Substance and Flamingo

When two products are developed by the same company / team / a lonely guy in his mom’s basement, you expect them to work well together. In my case, i develop Flamingo component suite and Substance look-and-feel – both targeting modern Swing-based UI applications. To achieve better integration between the two products, i provide three main features:

  • Hosting some of the ribbon content (application menu button, taskbar panel and contextual ribbon task group headers) in the title pane of a decorated ribbon frame
  • Office Blue 2007 and Office Silver 2007 skins that specifically target Flamingo ribbon component. When you use these skins in your ribbon-based applications, the visuals should be pretty close to the look of the matching MS Office 2007 skins.
  • Substance Flamingo plugin that provides consistent appearance and animation effects found in the base Substance library.

While the main focus of Substance Flamingo plugin was on hosting content in the title pane, the two Office skins and consistent animation effects, the latest development drops of all three libraries provide much better visuals for the ribbon component under other core Substance skins, especially those that mix dark and light color schemes in different areas of your UI.

Here is the ribbon under Business Black Steel skin:

https://substance.dev.java.net/release-info/6.1/ribbon-business-black-steel.png

And the same ribbon under Dust skin:

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

And the same ribbon under Dust Coffee skin:

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

And the same ribbon under Gemini skin:

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

And the same ribbon under Twilight skin:

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

The ribbon also looks much better under other Substance skins such as Autumn:

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

and Business:

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

I plan to release Substance 6.1 and Flamingo 5.0 at the same time around end of July / beginning of August. You should expect even closer integration between these two projects to be provided by the Substance Flamingo plugin as the projects get nearer the code freeze state.

If you want to test the improved visuals in ribbon-based applications, you will need the following: