settings.setProperty("emulator.settingsDirectory", System.getProperty("user.dir") + File.separator);  } else {  settings.setProperty("emulator.settingsDirectory", System.getProperty("user.home") + File.separator + ".tn5250j"  + File.separator);
File ses = new File("sessions");
	private void checkLegacy() {			// we check if the sessions file already exists in the directory		// if it does exist we are working with an old install so we		// need to set the settings directory to the users directory		File ses = new File("sessions");					if(ses.exists()) {			settings.setProperty("emulator.settingsDirectory", System.getProperty("user.dir") + File.separator);					}		else {					settings.setProperty("emulator.settingsDirectory", System.getProperty("user.home") + File.separator + ".tn5250j"  + File.separator);		}	}