setButton.setEnabled(false);
    private void initComponents()    {        IconManager im = IconManager.getInstance();        tree = new TreeCheck("", im.getIcon(IconManager.ROOT));         tree.setRootVisible(false);        selectAll = new JButton("Select All");        selectAll.setToolTipText(                UIUtilities.formatToolTipText("Select all items."));        selectAll.addActionListener(new ActionListener() {            public void actionPerformed(ActionEvent e)            {                 tree.selectAllNodes();             }        });        clearAll = new JButton("Deselect All");        clearAll.setToolTipText(                UIUtilities.formatToolTipText("Clear selection."));        clearAll.addActionListener(new ActionListener() {            public void actionPerformed(ActionEvent e)            {                tree.deselectAllNodes();            }        });        cancelButton = new JButton("Cancel");        cancelButton.setToolTipText(                UIUtilities.formatToolTipText("Close the window."));        cancelButton.addActionListener(new ActionListener() {            public void actionPerformed(ActionEvent e) { close(); }        });        setButton = new JButton("Apply");        setButton.setToolTipText(                UIUtilities.formatToolTipText("Apply the selection."));        setButton.addActionListener(new ActionListener() {            public void actionPerformed(ActionEvent e) { setValues(); }        });    }