* Minor change to user info.

This commit is contained in:
LevelX2 2014-10-18 18:23:05 +02:00
parent e4d2782a08
commit 0ecb04d8d2

View file

@ -312,9 +312,9 @@ public class ChatPanel extends javax.swing.JPanel {
TableColumnModel tcm = th.getColumnModel(); TableColumnModel tcm = th.getColumnModel();
tcm.getColumn(0).setHeaderValue("Players (" + this.players.length + ")"); tcm.getColumn(0).setHeaderValue("Players (" + this.players.length + ")");
tcm.getColumn(2).setHeaderValue( tcm.getColumn(2).setHeaderValue(
"Games (" + roomUserInfo.getNumberActiveGames() + "Games " + roomUserInfo.getNumberActiveGames() +
(roomUserInfo.getNumberActiveGames() != roomUserInfo.getNumberGameThreads() ? " T:" + roomUserInfo.getNumberGameThreads():"") + (roomUserInfo.getNumberActiveGames() != roomUserInfo.getNumberGameThreads() ? " (T:" + roomUserInfo.getNumberGameThreads():" (") +
" max: " + roomUserInfo.getNumberMaxGames() + ")"); " limit: " + roomUserInfo.getNumberMaxGames() + ")");
th.repaint(); th.repaint();
this.fireTableDataChanged(); this.fireTableDataChanged();
} }