ReloadSettings();
reconnectToServer();
            public void actionPerformed(java.awt.event.ActionEvent e) {                OptionsWin ow = new OptionsWin(myopts, mainwin.this);                ow.setModal(true);                ow.setVisible(true);                if (ow.getModalResult())                     ReloadSettings();            }