class CloseButton extends JButton {

    public CloseButton(Action a) {
        super(a);
        init();
    }

    public CloseButton() {
        super();
        init();
    }

    private void init() {<FILL_FUNCTION_BODY>}

    @Override
    public void setAction(Action a) {
        super.setAction(a);
        init();
    }
}

        if (UIUtils.isGTKLookAndFeel()) {
            setIcon(
                ImageUtilities.loadImageIcon("UIComponents/gtk_bigclose_enabled.png", false));
            setRolloverIcon(
                ImageUtilities.loadImageIcon("UIComponents/gtk_bigclose_rollover.png", false));
            setPressedIcon(
                ImageUtilities.loadImageIcon("UIComponents/gtk_bigclose_pressed.png", false));
        } else if (UIUtils.isWindowsClassicLookAndFeel()) {
            setIcon(
                ImageUtilities.loadImageIcon("UIComponents/win_bigclose_enabled.png", false));
            setRolloverIcon(
                ImageUtilities.loadImageIcon("UIComponents/win_bigclose_rollover.png", false));
            setPressedIcon(
                ImageUtilities.loadImageIcon("UIComponents/win_bigclose_pressed.png", false));
        } else if (UIUtils.isWindowsXPLookAndFeel()) {
            setIcon(
                ImageUtilities.loadImageIcon("UIComponents/xp_bigclose_enabled.png", false));
            setRolloverIcon(
                ImageUtilities.loadImageIcon("UIComponents/xp_bigclose_rollover.png", false));
            setPressedIcon(
                ImageUtilities.loadImageIcon("UIComponents/xp_bigclose_pressed.png", false));
        } else if (UIUtils.isWindowsVistaLookAndFeel()) {
            setIcon(
                ImageUtilities.loadImageIcon("UIComponents/vista_bigclose_enabled.png", false));
            setRolloverIcon(ImageUtilities.loadImageIcon("UIComponents/vista_bigclose_rollover.png", false));
            setPressedIcon(
                ImageUtilities.loadImageIcon("UIComponents/vista_bigclose_pressed.png", false));
        } else if (UIUtils.isAquaLookAndFeel()) {
            setIcon(
                ImageUtilities.loadImageIcon("UIComponents/mac_bigclose_enabled.png", false));
            setRolloverIcon(
                ImageUtilities.loadImageIcon("UIComponents/mac_bigclose_rollover.png", false));
            setPressedIcon(
                ImageUtilities.loadImageIcon("UIComponents/mac_bigclose_pressed.png", false));
        }

        setText("");
        setBorder(javax.swing.BorderFactory.createEmptyBorder());
        setBorderPainted(false);
        setContentAreaFilled(false);
        setFocusable(false);
        setOpaque(false);
    
<methods>public void <init>() ,public void <init>(javax.swing.Icon) ,public void <init>(java.lang.String) ,public void <init>(javax.swing.Action) ,public void <init>(java.lang.String, javax.swing.Icon) ,public javax.accessibility.AccessibleContext getAccessibleContext() ,public java.lang.String getUIClassID() ,public boolean isDefaultButton() ,public boolean isDefaultCapable() ,public void removeNotify() ,public void setDefaultCapable(boolean) ,public void updateUI() <variables>private static final java.lang.String uiClassID