added reconnect dialog - not quite finished

This commit is contained in:
BetaSteward 2011-05-20 23:29:12 -04:00
parent 89f6e18c90
commit 975ce7ba21
5 changed files with 291 additions and 44 deletions

View file

@ -316,7 +316,7 @@ public class Client implements CallbackClient {
private void handleException(Exception ex) {
logger.fatal("Client error\n", ex);
JOptionPane.showMessageDialog(MageFrame.getDesktop(), "Unrecoverable client error. Disconnecting", "Error", JOptionPane.ERROR_MESSAGE);
session.disconnect();
session.disconnect(false);
frame.disableButtons();
}