Revision 25554 trunk/libraries/libCorePlugin/src/com/iver/core/preferences/general/AppearancePage.java
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 |
|
|
127 |
|
|
128 |
addComponent(PluginServices.getText(this, "options.general.select_theme"), getLookAndFeelComboBox()); |
|
123 | 129 |
myAction = new ActionListener() { |
124 | 130 |
public void actionPerformed(ActionEvent e) { |
125 | 131 |
lookAndFeel = ((LF) lookAndFeelCombo.getSelectedItem()).getClassName(); |
Also available in: Unified diff