send();
if(client != null) { send(); }
    public void actionPerformed(ActionEvent e) {        if (e.getSource() == butOkay) {            send();            doSave();        } else if (e.getSource() == butDefaults) {            resetToDefaults();            return;        }        this.setVisible(false);    }