m_server.start();
// Authentify the user.
boolean isOk = m_server.identify(form.getPlayerName());
while (!isOk)
{
final JDialogNameUsed form2 = new JDialogNameUsed(ClientLobby.this, m_server.getPlayerName());
form2.setVisible(true);
isOk = m_server.identify(form2.getPlayerName());
}
jStatusLabel.setText("Connected as " + m_server.getPlayerName() + " to " + m_server.getServerAddress() + ":" + m_server.getServerPort());
getJRefreshButton().setEnabled(true);
getJAddTableButton().setEnabled(true);