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?
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)