}
public void windowClosing(WindowEvent arg0) {
int choice = JOptionPane.showConfirmDialog(jfrm, "Are you sure you wish to quit?",
"Quit Game", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
if (choice == JOptionPane.YES_OPTION) {
controller.fireDisconnectEvent(new DisconnectEvent(this));
jfrm.dispose();
}
}
public void windowDeactivated(WindowEvent arg0) {}
public void windowDeiconified(WindowEvent arg0) {}