Revision 43322

View differences:

trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.coreplugin.app/org.gvsig.coreplugin.app.mainplugin/src/main/java/org/gvsig/coreplugin/preferences/general/appearance/AppearancePage.java
92 92
        setParentID(GeneralPage.id);
93 93
        installDefaultLookAndFeel();       
94 94
        this.defaultLookAndFeel = Launcher.getDefaultLookAndFeel();
95
        this.enableLookAndFeel = BooleanUtils.toBoolean(PluginServices.getArgumentByName("enablelaf"));
95
        String x = PluginServices.getArgumentByName("enablelaf");
96
        if( x == null ) {            
97
            this.enableLookAndFeel = true;
98
        } else {
99
            this.enableLookAndFeel = BooleanUtils.toBoolean(x);
100
        }
96 101
        this.initComponents();
97 102
    }
98 103

  

Also available in: Unified diff