Accidentaly removed buttons on previous commit. Fixed white chat in tournament waiting dialog.

This commit is contained in:
magenoxx 2011-09-02 09:20:30 +04:00
parent f0d6ad73ae
commit 8404d3be25
2 changed files with 7 additions and 0 deletions

View file

@ -178,6 +178,10 @@ public class TablesPanel extends javax.swing.JPanel {
}
};
// adds buttons (don't delete this)
new ButtonColumn(tableTables, joinTable, 6);
new ButtonColumn(tableCompleted, replayMatch, 5);
}
public Map<String, JComponent> getUIComponents() {

View file

@ -44,6 +44,7 @@ import java.util.concurrent.ExecutionException;
import javax.swing.*;
import javax.swing.table.AbstractTableModel;
import mage.client.MageFrame;
import mage.client.chat.ChatPanel;
import mage.remote.Session;
import mage.client.util.ButtonColumn;
import mage.view.RoundView;
@ -76,6 +77,8 @@ public class TournamentPanel extends javax.swing.JPanel {
tablePlayers.createDefaultColumnsFromModel();
tableMatches.createDefaultColumnsFromModel();
chatPanel1.useExtendedView(ChatPanel.VIEW_MODE.NONE);
Action action = new AbstractAction()
{
@Override