From 872057c49a4ef0da5bb33149b5766b7707277065 Mon Sep 17 00:00:00 2001 From: BetaSteward Date: Sun, 5 Jun 2011 14:26:51 -0400 Subject: [PATCH] undoing some checkins from merge --- Mage.Client/src/main/java/mage/client/table/TablesPane.java | 2 -- Mage.Client/src/main/java/mage/client/table/TablesPanel.java | 3 +-- pom.xml | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Mage.Client/src/main/java/mage/client/table/TablesPane.java b/Mage.Client/src/main/java/mage/client/table/TablesPane.java index 43ef146bce..5ba7652479 100644 --- a/Mage.Client/src/main/java/mage/client/table/TablesPane.java +++ b/Mage.Client/src/main/java/mage/client/table/TablesPane.java @@ -38,8 +38,6 @@ import java.util.Map; import java.util.UUID; import javax.swing.JComponent; -import javax.swing.event.InternalFrameEvent; -import javax.swing.event.InternalFrameListener; import mage.client.MageFrame; import mage.client.MagePane; diff --git a/Mage.Client/src/main/java/mage/client/table/TablesPanel.java b/Mage.Client/src/main/java/mage/client/table/TablesPanel.java index d9916e2e37..6ed44234a0 100644 --- a/Mage.Client/src/main/java/mage/client/table/TablesPanel.java +++ b/Mage.Client/src/main/java/mage/client/table/TablesPanel.java @@ -473,8 +473,7 @@ class UpdateTablesTask extends SwingWorker> { @Override protected Void doInBackground() throws Exception { while (!isCancelled()) { - if (MageFrame.getDesktop().getSelectedFrame() instanceof TablesPane) - this.publish(session.getTables(roomId)); + this.publish(session.getTables(roomId)); Thread.sleep(1000); } return null; diff --git a/pom.xml b/pom.xml index 6cad0d59f9..ba09fa1010 100644 --- a/pom.xml +++ b/pom.xml @@ -31,6 +31,7 @@ Mage.Plugins Mage.Server.Plugins Mage.Server.Console + Mage.Tests