This commit is contained in:
BetaSteward 2011-06-05 09:50:31 -04:00
commit 6cbd5369c3
32 changed files with 195 additions and 175 deletions

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.1" encoding="UTF-8" ?>
<Form version="1.3" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JInternalFrameFormInfo">
<SyntheticProperties>
@ -32,4 +32,4 @@
<Component class="mage.client.table.TablesPanel" name="tablesPanel">
</Component>
</SubComponents>
</Form>
</Form>

View file

@ -38,6 +38,8 @@ 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;

View file

@ -96,7 +96,7 @@
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JSplitPaneSupportLayout"/>
<SubComponents>
<Component class="mage.client.chat.ChatPanel" name="chatPanel">
<Component class="mage.client.chat.ChatPanel" name="chatPanel">
<Properties>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[100, 43]"/>

View file

@ -473,7 +473,8 @@ class UpdateTablesTask extends SwingWorker<Void, Collection<TableView>> {
@Override
protected Void doInBackground() throws Exception {
while (!isCancelled()) {
this.publish(session.getTables(roomId));
if (MageFrame.getDesktop().getSelectedFrame() instanceof TablesPane)
this.publish(session.getTables(roomId));
Thread.sleep(1000);
}
return null;