mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Accidentaly removed buttons on previous commit. Fixed white chat in tournament waiting dialog.
This commit is contained in:
parent
f0d6ad73ae
commit
8404d3be25
2 changed files with 7 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue