/** * Konstruktor. * * @param gameId - Id des Spiels für das der Agent angemeldet wird. * @param params - Spielparameter * @param coordinator - Koordinator zur Kommunikation mit dem Server * @param agentPath - Pfad in dem sich die Agenten befinden. * @param parent - Parentmaske * @param hostname - Name des Simulationsservers */ public AgentRegistrationFrame( Id gameId, Hashtable params, ICoordinator coordinator, GameTab parent, String scenarioName, String pathName) { // ClientInfoObject holen m_clientInfoObject = ClientInfoObject.getInstance(pathName); enableEvents(AWTEvent.WINDOW_EVENT_MASK); try { m_coordinator = coordinator; m_parameter = params; m_gameId = gameId; m_parent = parent; m_scenarioName = scenarioName; // Oberfläche erstellen jbInit(); } catch (Exception e) { e.printStackTrace(); } }