ReloadSettings();
reconnectToServer();
            public void actionPerformed(ActionEvent e) {                Boolean state = (Boolean)getValue(ActionJCheckBoxMenuItem.SELECTED_PROPERTY);                boolean newState;                if (state == null)                    newState = false;                else                    newState = !state;                actAdminMode.putValue(ActionJCheckBoxMenuItem.SELECTED_PROPERTY, newState);                                ReloadSettings();            };