Revision 39576 trunk/libraries/libCorePlugin/src/com/iver/core/preferences/general/AppearancePage.java
AppearancePage.java | ||
---|---|---|
92 | 92 |
import javax.swing.UIManager.LookAndFeelInfo; |
93 | 93 |
|
94 | 94 |
import org.apache.log4j.Logger; |
95 |
import org.gvsig.tools.OsUtils; |
|
95 | 96 |
|
96 | 97 |
import com.iver.andami.Launcher; |
97 | 98 |
import com.iver.andami.PluginServices; |
... | ... | |
120 | 121 |
// install the plastic look and feel before getting the laf combobox |
121 | 122 |
UIManager.installLookAndFeel("Plastic XP", "com.jgoodies.looks.plastic.PlasticXPLookAndFeel"); |
122 | 123 |
// 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");
|
|
124 |
if (OsUtils.isMac()){
|
|
125 |
UIManager.installLookAndFeel("Quaqua", "ch.randelshofer.quaqua.QuaquaLookAndFeel");
|
|
126 |
}
|
|
126 | 127 |
|
127 | 128 |
|
128 | 129 |
addComponent(PluginServices.getText(this, "options.general.select_theme"), getLookAndFeelComboBox()); |
Also available in: Unified diff