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