added some client window management + suppress calls when TablesPane is not visible

This commit is contained in:
BetaSteward 2011-06-07 22:32:58 -04:00
parent 79583a6ec2
commit d8fca737fd
27 changed files with 239 additions and 196 deletions

View file

@ -301,7 +301,7 @@ public class NewTableDialog extends MageDialog {
private void btnCancelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelActionPerformed
this.table = null;
this.playerId = null;
this.setVisible(false);
this.hideDialog();
}//GEN-LAST:event_btnCancelActionPerformed
private void btnOKActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnOKActionPerformed
@ -332,7 +332,7 @@ public class NewTableDialog extends MageDialog {
}
}
}
this.setVisible(false);
this.hideDialog();
return;
}
} catch (FileNotFoundException ex) {
@ -421,7 +421,7 @@ public class NewTableDialog extends MageDialog {
this.setModal(true);
setGameOptions();
this.setLocation(150, 100);
this.setVisible(true);
this.setVisible(true);
}
public TableView getTable() {