|
|
@ -44,7 +44,7 @@ import java.util.logging.Logger; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* @author Jannis Weis |
|
|
|
* @author Jannis Weis |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public abstract class Theme extends UIManager.LookAndFeelInfo { |
|
|
|
public abstract class Theme { |
|
|
|
private static final Logger LOGGER = Logger.getLogger(Theme.class.getName()); |
|
|
|
private static final Logger LOGGER = Logger.getLogger(Theme.class.getName()); |
|
|
|
private static final String[] UI_PROPERTIES = new String[]{ |
|
|
|
private static final String[] UI_PROPERTIES = new String[]{ |
|
|
|
"borders", "button", "checkBox", "colorChooser", "comboBox", "fileChooser", "tristate", |
|
|
|
"borders", "button", "checkBox", "colorChooser", "comboBox", "fileChooser", "tristate", |
|
|
@ -57,14 +57,8 @@ public abstract class Theme extends UIManager.LookAndFeelInfo { |
|
|
|
"control", "dialog", "files", "indicator", "menu", "misc", "navigation", "window" |
|
|
|
"control", "dialog", "files", "indicator", "menu", "misc", "navigation", "window" |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public UIManager.LookAndFeelInfo createLookAndFeelInfo() { |
|
|
|
public Theme() { |
|
|
|
return new UIManager.LookAndFeelInfo(getName(), DarkLaf.class.getCanonicalName()); |
|
|
|
super("overridden by getName()", DarkLaf.class.getCanonicalName()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public final String getClassName() { |
|
|
|
|
|
|
|
return DarkLaf.class.getCanonicalName(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|