2
* Copyright (c) 2002 and later by MH Software-Entwicklung. All Rights Reserved.
4
* JTattoo is multiple licensed. If your are an open source developer you can use
5
* it under the terms and conditions of the GNU General Public License version 2.0
6
* or later as published by the Free Software Foundation.
10
* If you pay for a license you will become a registered user who could use the
11
* software under the terms and conditions of the GNU Lesser General Public License
12
* version 2.0 or later with classpath exception as published by the Free Software
16
* see: classpath-exception.txt
18
* Registered users could also use JTattoo under the terms and conditions of the
19
* Apache License, Version 2.0 as published by the Apache Software Foundation.
21
* see: APACHE-LICENSE-2.0.txt
24
package com.jtattoo.plaf.texture;
27
import javax.swing.plaf.ComponentUI;
30
* @author Michael Hagen
32
public class TextureCheckBoxUI extends TextureRadioButtonUI {
34
private static TextureCheckBoxUI checkBoxUI = null;
36
public static ComponentUI createUI(JComponent b) {
37
if (checkBoxUI == null) {
38
checkBoxUI = new TextureCheckBoxUI();
43
public void installDefaults(AbstractButton b) {
44
super.installDefaults(b);
45
icon = UIManager.getIcon("CheckBox.icon");