The JoinNewListener class is an implementation of the ActionListener which if instantiated and binded to a control, reacts to an incoming event by: a) Prompting the player for confirmation on leaving the current game (via a JOptionPane) b) If the "Yes" option is chosen, reloading the client with a restart (parameter Client.RELOAD_WITH_RESTART used)
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.