use of com.jgoodies.looks.plastic.PlasticXPLookAndFeel in project SIMRacingApps by SIMRacingApps.
the class MainFrame method createInstance.
public static void createInstance() {
try {
Toolkit.getDefaultToolkit().setDynamicLayout(true);
System.setProperty("sun.awt.noerasebackground", "true");
// JGoodies
// menu icons
Options.setDefaultIconSize(new Dimension(16, 16));
Options.setUseNarrowButtons(false);
Options.setPopupDropShadowEnabled(true);
UIManager.setLookAndFeel(System.getProperty("os.name").toLowerCase().startsWith("windows") ? new WindowsLookAndFeel() : new PlasticXPLookAndFeel());
_instance = new MainFrame();
} catch (Exception e) {
System.err.println(e);
}
}
use of com.jgoodies.looks.plastic.PlasticXPLookAndFeel in project beast-mcmc by beast-dev.
the class MainFrame method createInstance.
public static void createInstance() {
try {
Toolkit.getDefaultToolkit().setDynamicLayout(true);
System.setProperty("sun.awt.noerasebackground", "true");
// JGoodies
// menu icons
Options.setDefaultIconSize(new Dimension(16, 16));
Options.setUseNarrowButtons(false);
Options.setPopupDropShadowEnabled(true);
UIManager.setLookAndFeel(System.getProperty("os.name").toLowerCase().startsWith("windows") ? new WindowsLookAndFeel() : new PlasticXPLookAndFeel());
_instance = new MainFrame();
} catch (Exception e) {
System.err.println(e);
}
}
use of com.jgoodies.looks.plastic.PlasticXPLookAndFeel in project cogtool by cogtool.
the class MainFrame method createInstance.
public static void createInstance() {
try {
Toolkit.getDefaultToolkit().setDynamicLayout(true);
System.setProperty("sun.awt.noerasebackground", "true");
// JGoodies
// menu icons
Options.setDefaultIconSize(new Dimension(16, 16));
Options.setUseNarrowButtons(false);
Options.setPopupDropShadowEnabled(true);
UIManager.setLookAndFeel(new PlasticXPLookAndFeel());
_instance = new MainFrame();
} catch (Exception e) {
System.err.println(e);
}
}
use of com.jgoodies.looks.plastic.PlasticXPLookAndFeel in project megameklab by MegaMek.
the class MainFrame method createInstance.
public static void createInstance() {
try {
Toolkit.getDefaultToolkit().setDynamicLayout(true);
System.setProperty("sun.awt.noerasebackground", "true");
// JGoodies
// menu icons
Options.setDefaultIconSize(new Dimension(16, 16));
Options.setUseNarrowButtons(false);
Options.setPopupDropShadowEnabled(true);
UIManager.setLookAndFeel(new PlasticXPLookAndFeel());
_instance = new MainFrame();
} catch (Exception e) {
System.err.println(e);
}
}
use of com.jgoodies.looks.plastic.PlasticXPLookAndFeel in project chipKIT32-MAX by chipKIT32.
the class MainFrame method createInstance.
public static void createInstance() {
try {
Toolkit.getDefaultToolkit().setDynamicLayout(true);
System.setProperty("sun.awt.noerasebackground", "true");
// JGoodies
// menu icons
Options.setDefaultIconSize(new Dimension(16, 16));
Options.setUseNarrowButtons(false);
Options.setPopupDropShadowEnabled(true);
UIManager.setLookAndFeel(new PlasticXPLookAndFeel());
_instance = new MainFrame();
} catch (Exception e) {
System.err.println(e);
}
}
Aggregations