I am extremely pleased today to announce the availability of release candidate for version 5.1 of Substance look-and-feel (code-named Panama). The release notes for version 5.1 contain the detailed information on the contents of this release, and the migration guide describes two application-facing binary incompatibilities introduced in button shaper and highlight painter APIs.

This release includes the following:

Click on the button below to launch a signed WebStart application that shows the available Substance features.

The following sub-projects are also available as release candidates:

You are more than welcome to take Substance 5.1RC for a ride and report any problems in the project mailing lists, forums or issue tracker. The final release is scheduled for February 6. Only bugs will be fixed until that date.

Sample screenshots of Substance 5.1 in action:

Supporting wide variety of font sizes in modern UI toolkits is a necessity. Toolkits such as Qt, Swing, JavaFX and more are targetting not only multiple desktop operating systems, but multiple devices spanning TV sets and mobile phones. They must take into consideration the significant span of device DPI settings, in addition to more niche areas such as point of sale applications and presentation demoes.

One of the main goals of Substance look-and-feel is to provide appealing visuals for Swing applications, and that includes honoring the current desktop configuration, including font and DPI settings. Even if at the present moment the vast majority of monitors support a rather narrow DPI band (from 72 to around 200 DPI), this still requires the UI toolkit to adapt the control visuals to have the same physical size across the different environments. In addition, point of sale applications pose more challenges as they are operated in a busy environment using manual (finger) interaction.

As such, Substance continues to pay close attention not only to the usual setups (ranging from Tahoma 11 in Windows XP to Lucida Grande 13 in OS X). Version 4.3 has made the first step towards ensuring that the core Swing controls are painted correctly under large font sizes (around 72 points), and version 5.1 provides support for even more controls.

The following screenshot shows a 72 point combobox with the mouse over the arrow button under Substance 5.0:

And here is the same combobox under Substance 5.1:

The top-right and bottom-right corners of the button are no longer out of sync, with the top-left and bottom-left corners having a perfect straight connection.

The next screenshot shows a 72 point progress bar under Substance 5.0:

And here is the same progress bar under Substance 5.1:

Here the border outline of the selected part has the correct stroke width, as well the right alignment with the inner gradient fill.

Finally, the next screenshot shows a 72 point slider with mouse over the thumb under Substance 5.0:

And here is the same slider under Substance 5.1:

The slider main ticks are no longer clipped on the left, the thumb downward mark is centered on the matching main tick, and the inner contour of the slider thumb is correctly centered.

This work will continue in the next releases to make sure that all core Swing controls look correctly under different font sizes, including very large values such as shown in this entry. In the meantime, you’re welcome to take the latest 5.1dev drop of core Substance (code-named Panama). Release candidate for Substance is scheduled for January 26 and the final release is scheduled for February 9.

Following the work that has been done to revisit and polish the Office Blue skin of Substance look-and-feel closer to the original visuals, the last two weeks have seen major improvements in the Office Silver skin that bring it closer to the Office 2007 visuals as well.

Here is a screenshot of the old Office Silver skin:

While the overall direction is right (grays + a combination of yellow / orange colors for active states), it quite far from the original visuals.

Here is how it looks in the latest 5.1dev drop of Substance (code-named Panama):

To see the new Office Silver skin in action on the Flamingo ribbon component, run the following WebStart demo and switch to Office Silver in the Look & Feel task:

If you want to test new visuals and APIs, you will need to take the latest 5.1dev drop of Substance (code-named Panama). Release candidate for Substance is scheduled for January 26 and the final release is scheduled for February 9.

Swing Links of the Week revived

January 13th, 2009

Not much time has passed since i’ve announced that the Swing link of the week trail on this blog has come to an end, and Jonathan Giles has decided to step in and continue posting theweekly round-up of the Swing related news.

You can find the first entry of the year on Jonathan’s blog, and he just started twittering about it. So, you’re more than welcome to subscribe to his feed and send your links his way (he has his e-mail on the first entry).

To aid Jonathan in his weekly quest, here are a few places that i used to collect the links:

  • dzone new links
  • java.net blogs
  • javablogs.com custom query (keyword Swing)
  • java.net desktop forums
  • java.sun.com desktop forums
  • javaposse google newsgroup
  • feeds of blogs previously features on the series