aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/gui/lookandfeel/SIPCommCheckBoxUI.java
blob: 0bbc3a4c2556925d5ca8239d3be154ab5379e46f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package net.java.sip.communicator.impl.gui.lookandfeel;

import java.awt.*;

import javax.swing.*;
import javax.swing.plaf.*;
import javax.swing.plaf.metal.*;

import net.java.sip.communicator.swing.*;

/**
 * SIPCommCheckBoxUI implementation.
 * 
 * @author Yana Stamcheva
 */
public class SIPCommCheckBoxUI extends MetalCheckBoxUI
{
    /**
     * Creates a new SIPCommCheckBoxUI instance.
     */
    public static ComponentUI createUI(JComponent x)
    {
        return new SIPCommCheckBoxUI();
    }

    public void paint(Graphics g, JComponent c)
    {
        AntialiasingManager.activateAntialiasing(g);
        super.paint(g, c);
    }
}