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: