protected OnlineGameManagerPanel(GameViewModel viewer, GameStartListener dlg) {
controller_ = viewer.getController();
gameStartedListener_ = dlg;
IServerConnection connection = controller_.getServerConnection();
assert (connection != null) :
"You should not create this dlg without first verifying that online play is available.";
connection.addOnlineChangeListener(this);
enableEvents( AWTEvent.WINDOW_EVENT_MASK );
initGUI();
}