Skip to content

LookAndFeel in ALL apps

To set your favorite LAF in all Java apps, you can create a file in your jre/lib[^1] folder with following contents:

You can also set the _JAVA_OPTIONS environment variable to the following (or just specify these parameters upon the java-call):

From now on you will see NimbusLookAndFeel in all Java applications which do not set a LAF on their own.

Available LookAndFeels as of 1.6:

  • javax.swing.plaf.basic.BasicLookAndFeel
  • javax.swing.plaf.metal.MetalLookAndFeel
  • javax.swing.plaf.multi.MultiLookAndFeel
  • javax.swing.plaf.synth.SynthLookAndFeel


No Trackbacks


Display comments as Linear | Threaded

No comments

Add Comment

Markdown format allowed
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.

Form options