Fixed client bug where pressing "No" on "Are you sure you want to disconnect?" closed the client anyway.

This commit is contained in:
magenoxx 2011-12-09 15:10:09 +04:00
parent 21852af144
commit e076c0b6ee

View file

@ -623,7 +623,7 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
btnExit = new javax.swing.JButton(); btnExit = new javax.swing.JButton();
lblStatus = new javax.swing.JLabel(); lblStatus = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
setMinimumSize(new Dimension(600, 400)); setMinimumSize(new Dimension(600, 400));
desktopPane.setBackground(new java.awt.Color(204, 204, 204)); desktopPane.setBackground(new java.awt.Color(204, 204, 204));