private String openConnectSessionDialog() { ConnectDialog sc = new ConnectDialog(frame, LangTool.getString("ss.title"), sessions); // load the new session information from the session property file loadSessions(); return sc.getConnectKey(); }