public void actionPerformed(ActionEvent ae) { if (!isVisible()) { setVisible(true); toFront(); requestFocus(); } else { setVisible(false); } }
public void actionPerformed(ActionEvent ce) { activateThemeSupport(true); }
            public void actionPerformed(ActionEvent ae) {                if (!isVisible()) {                    setVisible(true);                    toFront();                    requestFocus();                }                else {                    setVisible(false);                }            }