@Override
    protected void fireActionPerformed(ActionEvent event) {
        Container w = getWindow();
        if (isSelected()) {
            adjustWindow(w);
            w.setVisible(true);
            w.requestFocus();
        } else {
            w.setVisible(false);
        }
    }