Revision 25555

View differences:

branches/v2_0_0_prep/libraries/libCorePlugin/src/com/iver/core/preferences/general/AppearancePage.java
119 119
        setParentID(GeneralPage.id);
120 120
        // install the plastic look and feel before getting the laf combobox
121 121
    	UIManager.installLookAndFeel("Plastic XP", "com.jgoodies.looks.plastic.PlasticXPLookAndFeel");
122
        addComponent(PluginServices.getText(this, "options.general.select_theme"), getLookAndFeelComboBox());
122
    	// install the extra LAF's before getting the LAF combobox
123
    	String osName = (String) System.getProperty("os.name");
124
		if (osName.toLowerCase().startsWith("mac os x"))
125
			UIManager.installLookAndFeel("Quaqua", "ch.randelshofer.quaqua.QuaquaLookAndFeel");
126
    	addComponent(PluginServices.getText(this, "options.general.select_theme"), getLookAndFeelComboBox());
123 127
        myAction = new ActionListener() {
124 128
            public void actionPerformed(ActionEvent e) {
125 129
                lookAndFeel = ((LF) lookAndFeelCombo.getSelectedItem()).getClassName();

Also available in: Unified diff