mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8375567
This commit is contained in:
parent
4cfc2c54f2
commit
dd7b8459aa
@ -53,13 +53,13 @@ public class MotifButtonUI extends BasicButtonUI {
|
||||
|
||||
private boolean defaults_initialized = false;
|
||||
|
||||
private static final MotifButtonUI MOTIF_BUTTON_UI = new MotifButtonUI();
|
||||
private static final ComponentUI UI = new MotifButtonUI();
|
||||
|
||||
// ********************************
|
||||
// Create PLAF
|
||||
// ********************************
|
||||
public static ComponentUI createUI(JComponent c) {
|
||||
return MOTIF_BUTTON_UI;
|
||||
return UI;
|
||||
}
|
||||
|
||||
// ********************************
|
||||
|
||||
@ -37,7 +37,7 @@ import javax.swing.plaf.ComponentUI;
|
||||
*/
|
||||
public class MotifCheckBoxUI extends MotifRadioButtonUI {
|
||||
|
||||
private static final MotifCheckBoxUI MOTIF_CHECK_BOX_UI = new MotifCheckBoxUI();
|
||||
private static final ComponentUI UI = new MotifCheckBoxUI();
|
||||
|
||||
private static final String propertyPrefix = "CheckBox" + ".";
|
||||
|
||||
@ -48,7 +48,7 @@ public class MotifCheckBoxUI extends MotifRadioButtonUI {
|
||||
// Create PLAF
|
||||
// ********************************
|
||||
public static ComponentUI createUI(JComponent c) {
|
||||
return MOTIF_CHECK_BOX_UI;
|
||||
return UI;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -37,9 +37,9 @@ import javax.swing.plaf.basic.BasicLabelUI;
|
||||
*/
|
||||
public class MotifLabelUI extends BasicLabelUI
|
||||
{
|
||||
private static final MotifLabelUI MOTIF_LABEL_UI = new MotifLabelUI();
|
||||
private static final ComponentUI UI = new MotifLabelUI();
|
||||
|
||||
public static ComponentUI createUI(JComponent c) {
|
||||
return MOTIF_LABEL_UI;
|
||||
return UI;
|
||||
}
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@ import javax.swing.plaf.basic.BasicToggleButtonUI;
|
||||
*/
|
||||
public class MotifToggleButtonUI extends BasicToggleButtonUI
|
||||
{
|
||||
private static final MotifToggleButtonUI MOTIF_TOGGLE_BUTTON_UI = new MotifToggleButtonUI();
|
||||
private static final ComponentUI UI = new MotifToggleButtonUI();
|
||||
|
||||
protected Color selectColor;
|
||||
|
||||
@ -56,7 +56,7 @@ public class MotifToggleButtonUI extends BasicToggleButtonUI
|
||||
// Create PLAF
|
||||
// ********************************
|
||||
public static ComponentUI createUI(JComponent b) {
|
||||
return MOTIF_TOGGLE_BUTTON_UI;
|
||||
return UI;
|
||||
}
|
||||
|
||||
// ********************************
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user