- if ( _configuration.isUseNativeUI() ) {
- UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() );
+ boolean synth_exception = false;
+ if ( Constants.__SYNTH_LF ) {
+ try {
+ final SynthLookAndFeel synth = new SynthLookAndFeel();
+ synth.load( MainFrameApplication.class.getResourceAsStream( "/resources/synth_look_and_feel_1.xml" ),
+ MainFrameApplication.class );
+ UIManager.setLookAndFeel( synth );
+ }
+ catch ( Exception ex ) {
+ synth_exception = true;
+ ForesterUtil.printWarningMessage( Constants.PRG_NAME,
+ "could not create synth look and feel: "
+ + ex.getLocalizedMessage() );
+ }