Package bluffinmuffin.gui.lobby

Examples of bluffinmuffin.gui.lobby.JDialogAddTable


        return jMainToolBar;
    }
   
    private void eventAddTable()
    {
        final JDialogAddTable form = new JDialogAddTable(ClientLobby.this, m_server.getPlayerName(), 1);
        form.setVisible(true);
        if (form.isOK())
        {
            final int noPort = m_server.createTable(form.getTableName(), form.getBigBlind(), form.getNbPlayer(), form.getWaitingTimeAfterPlayerAction(), form.getWaitingTimeAfterBoardDealed(), form.getWaitingTimeAfterPotWon(), form.getLimit(), form.getStartingMoney());
           
            if (noPort != -1)
            {
                joinTable(noPort, form.getTableName(), form.getBigBlind());
                refreshTables();
            }
            else
            {
                System.out.println("Cannot create table: '" + form.getTableName() + "'");
            }
        }
    }
View Full Code Here

TOP

Related Classes of bluffinmuffin.gui.lobby.JDialogAddTable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.