Package de.creepsmash.common.messages.client

Examples of de.creepsmash.common.messages.client.DeleteRequestMessage


    UIManager.put("OptionPane.messageForeground", Color.GREEN);
    int n = JOptionPane.showOptionDialog(this, "Are you sure?",
        "Account Deletion", JOptionPane.YES_NO_OPTION,
        JOptionPane.QUESTION_MESSAGE, null, options, options[0]);
    if (n == JOptionPane.YES_OPTION) {
      DeleteRequestMessage drm = new DeleteRequestMessage();
      drm.setClientId(getCore().getPlayerId());
      getCore().getNetwork().sendMessage(drm);
    }
    System.out.println(n);

  }
View Full Code Here

TOP

Related Classes of de.creepsmash.common.messages.client.DeleteRequestMessage

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.