When should I write my own Look and Feel for Java Swing instead of customizing one?

Posted by Jonas on Stack Overflow See other posts from Stack Overflow or by Jonas
Published on 2010-04-24T21:22:50Z Indexed on 2010/04/24 22:33 UTC
Read the original article Hit count: 236

I have used a few different Look and Feels for Java Swing, but I don't really like anyone to 100% so I often end up with customizing it a lot. Sometimes I am thinking about if it is a better idea to write my own LaF (by extending an existing one), but I don't really know.

For the moment, I mostly use Nimbus, but I change all colors (to darker ones) and rewrite the appearance of some components, like sliders and scrollbars. I also mostly customize all tables and I am thinking about to change the look of a few other components.

When is it recommended to create a new Look-and-Feel instead of customizing one? What are the pros and cons?

I.e. customize Nimbus or create a new one by extending Nimbus?

Related article: Creating a Custom Look and Feel (old)

© Stack Overflow or respective owner

Related posts about java

Related posts about swing