String command = e.getActionCommand();
String command = e.getActionCommand().toLowerCase();
  public void actionPerformed(ActionEvent e)  {    String command = e.getActionCommand();    if(command.equals("permissionadd"))    {      add();    }    else if(command.equals("permissionremove"))    {      remove();    }    else if(command.equals("permissionedit"))    {      modify();    }    else if(command.equals("preadd"))    {      preadd();    }    else if(command.equals("preremove"))    {      preremove();    }    else if(command.equals("preedit"))    {      premodify();    }    else if(command.equals("postadd"))    {      postadd();    }    else if(command.equals("postremove"))    {      postremove();    }    else if(command.equals("postedit"))    {      postmodify();    }  }