* @param table The table to display in the game window
*/
public GameWindow(LobbyWindow lobbyWindow, DetailedHoldemTable table) {
super(new Shell(lobbyWindow.getDisplay(), SWT.CLOSE | SWT.RESIZE), SWT.NONE, lobbyWindow.getClientCore());
tableState = new GameStateContainer(new DetailedHoldemTableState(table));
smartListener = new SmartHoldemTableListener(this, tableState);
detailedTable = table;
try {
user = new UserSeatedPlayer(this, getClientCore(), smartListener);
} catch (IllegalValueException e) {
throw new IllegalStateException(e);