Package voxo.client.actions

Examples of voxo.client.actions.RemoveContactAction


      // if yes, erase user
      int value = ((Integer) optionPane.getValue()).intValue();
      if (value == JOptionPane.YES_OPTION) {

        ClientRequestPacket p = new ClientRequestPacket(mainView.getMe().getUsername(), mainView.getSelectedUser().getUsername());
        new RemoveContactAction(c, p);
      }
    }
  }
View Full Code Here


 
  @Override
  public void actionPerformed(ActionEvent e) {
   
    if (e.getSource() == customR.getRefuse()){
      new RemoveContactAction(mainView.getC(), new ClientRequestPacket(mainView.getMe().getUsername(), u.getUsername()));
    }else {
 
    new ConfirmContactAction(mainView.getC(), new ClientRequestPacket(mainView.getMe().getUsername(), u.getUsername()));
    }
  }
View Full Code Here

TOP

Related Classes of voxo.client.actions.RemoveContactAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.