My application uses SAF (jsr 296). I want to use different look and feels on different platforms:
A default (Java) for Linux
And system (native) for Windows.
ADDED:
So far I hardcoded L&F for the Windows OS in the startup() method of my Application class (as suggested by Joy and Thompson):
if (SystemUtils.IS_OS_WINDOWS) {
UIManager.setLookAndFeel(
UIManager.getSystemLookAndFeelClassName());
}
In the application.properties file, the default L&F is specified.
Is there no better way?