<Swing Dev> Native look and feel on linux [2]
Yan
yanp.bugz at gmail.com
Fri May 27 21:41:19 UTC 2016
> You can put swing.properties file to <JRE>/lib directory as described
here:
https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html#properties
>
> The contents of the file would be:
>
> swing.systemlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
>
> This property file will set GTK LaF for all applications that use this
JRE to run.
High! I've did what you've said, placed file with this line in
/usr/lib/jvm/java-7-openjdk-amd64/lib/ , but nothing have changed. Maybe
I do wrong something?
Once again, I have simple java app, which sets LAF using this:
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
and I have no env variables like _JAVA_OPTIONS
Regards, Yan
More information about the swing-dev
mailing list