1 --- src/ja/lingo/application/util/plaf/JaLingoLookAndFeel.java.old 2006-10-30 16:05:26.000000000 +0200
2 +++ src/ja/lingo/application/util/plaf/JaLingoLookAndFeel.java 2008-01-16 14:32:57.000000000 +0200
4 // children dynamic re-layout on resize
5 Toolkit.getDefaultToolkit().setDynamicLayout( true );
8 + String slaf = System.getProperty("ja.lingo.laf");
9 + JaLingoLookAndFeel laf = null;
11 - JaLingoLookAndFeel laf = new JaLingoLookAndFeel();
12 - setCurrentTheme( new RainyTheme( fontSize ) );
13 - setCurrentGradientTheme( new RainyGradientTheme() );
15 - //LookAndFeel laf = new WindowsLookAndFeel();
16 + if( slaf == null) { // kunstoff
17 + laf = new JaLingoLookAndFeel();
18 + setCurrentTheme( new RainyTheme( fontSize ) );
19 + setCurrentGradientTheme( new RainyGradientTheme() );
23 //Plastic3DLookAndFeel laf = new Plastic3DLookAndFeel();
27 //UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() );
28 - UIManager.setLookAndFeel( laf );
30 + UIManager.setLookAndFeel( laf );
32 + UIManager.setLookAndFeel( slaf );
34 } catch ( Exception e ) {
35 LOG.warn( "Could not initialize LF", e );