101102103104105106107108109110111
OpenFileDialog openDialog; if (startFile != null) openDialog = new OpenFileDialog(startFile.getPath()); else openDialog = new OpenFileDialog(myproject); File result = openDialog.show(); if (result != null) startFile = result; return result; }