if(arg.equals(res.getString("button.ok"))) {
if(arg.equals(YAMM.getString("button.ok"))) {
      public void actionPerformed(ActionEvent e) {        String arg = ((JButton)e.getSource()).getText();        if(arg.equals(res.getString("button.ok"))) {          if(saveServerConf()) dispose();        }        else if(arg.equals(res.getString("button.cancel"))) {          dispose();        }      }