equal
deleted
inserted
replaced
65 private boolean defaults_initialized = false; |
65 private boolean defaults_initialized = false; |
66 |
66 |
67 // ******************************** |
67 // ******************************** |
68 // Create PlAF |
68 // Create PlAF |
69 // ******************************** |
69 // ******************************** |
|
70 |
|
71 /** |
|
72 * Returns an instance of {@code MetalCheckBoxUI}. |
|
73 * |
|
74 * @param b a component |
|
75 * @return a new instance of {@code MetalCheckBoxUI} |
|
76 */ |
70 public static ComponentUI createUI(JComponent b) { |
77 public static ComponentUI createUI(JComponent b) { |
71 AppContext appContext = AppContext.getAppContext(); |
78 AppContext appContext = AppContext.getAppContext(); |
72 MetalCheckBoxUI checkboxUI = |
79 MetalCheckBoxUI checkboxUI = |
73 (MetalCheckBoxUI) appContext.get(METAL_CHECK_BOX_UI_KEY); |
80 (MetalCheckBoxUI) appContext.get(METAL_CHECK_BOX_UI_KEY); |
74 if (checkboxUI == null) { |
81 if (checkboxUI == null) { |