mapper.saveKeyMap(); mapper.fireKeyChangeEvent();
KeyMapper.saveKeyMap(); KeyMapper.fireKeyChangeEvent();
   public void actionPerformed(ActionEvent e) {      if (e.getActionCommand().equals("DONE")) {         if (mods) {            mapper.saveKeyMap();            mapper.fireKeyChangeEvent();         }         setVisible(false);      }      if (e.getActionCommand().equals("MAP")) {         mapIt();      }      if (e.getActionCommand().equals("REMOVE")) {         removeIt();      }      if (e.getActionCommand().equals("MAP-Prime")) {         altKey = false;         mapIt();      }      if (e.getActionCommand().equals("REMOVE-Prime")) {         altKey = false;         removeIt();      }      if (e.getActionCommand().equals("MAP-Alt")) {         altKey = true;         mapIt();      }      if (e.getActionCommand().equals("REMOVE-Alt")) {         altKey = true;         removeIt();      }   }