44 |
import javax.swing.plaf.ComponentUI; |
import javax.swing.plaf.ComponentUI; |
45 |
|
|
46 |
/** |
/** |
47 |
* A UI delegate for the {@link JCheckBox} component under the |
* A UI delegate for the {@link JCheckBox} component. |
|
* {@link MetalLookAndFeel}. |
|
48 |
*/ |
*/ |
49 |
public class MetalCheckBoxUI |
public class MetalCheckBoxUI |
50 |
extends MetalRadioButtonUI |
extends MetalRadioButtonUI |
63 |
} |
} |
64 |
|
|
65 |
/** |
/** |
66 |
* Returns an instance of MetalCheckBoxUI. |
* Returns a shared instance of <code>MetalCheckBoxUI</code>. |
67 |
* |
* |
68 |
* @param component the component for which we return an UI instance |
* @param component the component for which we return an UI instance |
69 |
* |
* |
70 |
* @return an instance of MetalCheckBoxUI |
* @return A shared instance of <code>MetalCheckBoxUI</code>. |
71 |
*/ |
*/ |
72 |
public static ComponentUI createUI(JComponent component) |
public static ComponentUI createUI(JComponent component) |
73 |
{ |
{ |