Projekt

Obecné

Profil

« Předchozí | Další » 

Revize a5557143

Přidáno uživatelem Michal Horký před asi 4 roky(ů)

re #7967

Napraveny chyby až na komunikaci s DB - to je v jiném úkolu.

Zobrazit rozdíly:

project/Deserializer/src/Window.java
318 318
			fCh.setInitialDirectory(new File("."));
319 319
			// The input can be a zip file or file without a specific extension -> file chooser without extension filters...
320 320
			// fCh.getExtensionFilters().add(new FileChooser.ExtensionFilter("Binary Files", "*.out"));
321
			
322
			String inputDir = properties.getProperty(FileWorker.INPUT_DIR);
323
			if (inputDir != null) {
324
				File initDir = new File(inputDir);
325
				if (initDir.exists()) {
326
					fCh.setInitialDirectory(initDir);
327
				}
328
			}
329
			
321 330
			File file = fCh.showOpenDialog(stage);
322 331
			if (file != null) {
332
				properties.setProperty(FileWorker.INPUT_DIR, file.getAbsoluteFile().getParent());
323 333
				setOutputLayoutDisabled(true);
324 334
				
325 335
				inputFile.setText(file.getAbsolutePath());

Také k dispozici: Unified diff