/*
* Copyright 2005 MH-Software-Entwicklung. All rights reserved.
* Use is subject to license terms.
*/
package com.jtattoo.plaf;
import javax.swing.*;
import javax.swing.plaf.*;
/**
* @author Michael Hagen
*/
public class BaseCheckBoxUI extends BaseRadioButtonUI {
private static BaseCheckBoxUI checkBoxUI = null;
public static ComponentUI createUI(JComponent b) {
if (checkBoxUI == null) {
checkBoxUI = new BaseCheckBoxUI();
}
return checkBoxUI;
}
public void installDefaults(AbstractButton b) {
super.installDefaults(b);
icon = UIManager.getIcon("CheckBox.icon");
}
}