5758596061626364656667
} if (e.getSource()==load) { FileDialog d = new FileDialog(F.this, "Load...", FileDialog.LOAD); d.pack(); d.show(); File f = new File(d.getDirectory() + File.separator + d.getFile()); String dit = f.getPath(); try { DataInputStream is = new DataInputStream(new FileInputStream(dit));
573574575576577578579580581582583
// (ulrivo): set default directory if set from command line if (defDirectory != null) { f.setDirectory(defDirectory); } f.show(); String file = f.getFile(); if (file != null) { StringBuffer buf = new StringBuffer();
600601602603604605606607608609610
// (ulrivo): set default directory if set from command line if (defDirectory != null) { f.setDirectory(defDirectory); } f.show(); String file = f.getFile(); if (file != null) { DatabaseManagerCommon.writeFile(f.getDirectory() + file,
617618619620621622623624625626627
// (ulrivo): set default directory if set from command line if (defDirectory != null) { f.setDirectory(defDirectory); } f.show(); String dir = f.getDirectory(); String file = f.getFile(); if (dir != null) {
639640641642643644645646647648649
// (ulrivo): set default directory if set from command line if (defDirectory != null) { f.setDirectory(defDirectory); } f.show(); String file = f.getFile(); if (file != null) { showResultInText();
463464465466467468469470471472473
// (ulrivo): set default directory if set from command line if (defDirectory != null) { f.setDirectory(defDirectory); } f.show(); String file = f.getFile(); if (file != null) { txtCommand.setText(
482483484485486487488489490491492
499500501502503504505506507508509
434435436437438439440441442443444
} } else { FileDialog f = new FileDialog(fMain, "Restore FileName", FileDialog.LOAD); f.show(); String sFileName = f.getFile(); String Path = f.getDirectory(); if ((sFileName == null) || (sFileName.equals(""))) {
} } else { FileDialog f = new FileDialog(fMain, "Dump FileName", FileDialog.SAVE); f.show(); String sFileName = f.getFile(); String Path = f.getDirectory(); if ((sFileName == null) || (sFileName.equals(""))) {