MetalLookAndFeel
|
+ MetalLookAndFeel()
+ getFocusColor() : ColorUIResource
+ getControlTextFont() : FontUIResource
many more...
+ setCurrentTheme(MetalTheme)
|
CatalystTheme
|
+ CatalystTheme()
# getPrimary1() : ColorUIResource
+ getControlTextFont() : FontUIResource
many more...
+ addCustomEntriesToTable(UIDefaults)
|
|
We install our theme first thing before creating the GUI.
public class CatalystJ {
public static void main(String[] args) {
MetalLookAndFeel.setCurrentTheme(new CatalystTheme());
MainScreen mainScreen = new MainScreen();
mainScreen.setVisible(true);
}
|
|