Which Look and Feel Should be Default in Java 7?
Join the DZone community and get the full member experience.Join For Free
The other day I was discussing with colleagues if Nimbus should be the default LAF(Look and Feel) for Swing applications. The current default LAF is Ocean which is a spiced up theme for Metal which has been the Swing default LAF since the beginning.
It feels like with a large release like Java 7 it is about time we changed the default LAF to a more sensible choice which leaves two choices Nimbus which is the new cross platform LAF and the system native LAF which will be Windows LAF on Windows and GTK LAF on Unix. A
pple has already gone with the system native choice and the default LAF for Java Swing applications on Mac is Apple’s Aqua native LAF. The only reason for remaining with Ocean LAF is to maintain backwards compatibility for old Java applications which were written with static pixel based layout so will be all messed up if the size of components changes.
My feeling is that sector of users should be getting pretty small now and as long as we provide a easy work around like system property file that lets a user/administrator change the default LAF back to Ocean for those few special cases then we can move forward and select a modern LAF as the default. So then it comes down to what to choose Nimbus or Native(Windows/GTK) I am torn between the two. So we decided the best idea is to ask more people, so what do you think? Come and vote at our Poll
Published at DZone with permission of Jasper Potts. See the original article here.
Opinions expressed by DZone contributors are their own.