Changeset 11440
- Timestamp:
- 2006-03-21T13:37:43+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/file/FileManager.java
r11314 r11440 61 61 public static int FILE_TYPE = 0; 62 62 public static int FOLDER_TYPE = 1; 63 protected static File startup_directory = null; 63 64 64 65 … … 389 390 public void run() 390 391 { 391 JFileChooser file_chooser = new JFileChooser(); 392 393 JFileChooser file_chooser = new JFileChooser(startup_directory); 392 394 file_chooser.setDialogTitle(Dictionary.get("ReplacePrompt.Title")); 393 395 File new_file = null; … … 401 403 } 402 404 405 // save the search path for next time 406 startup_directory = new_file.getParentFile(); 403 407 // make up a node for the file to bring in 404 408 WorkspaceTreeNode source_node = new WorkspaceTreeNode(new_file);
Note:
See TracChangeset
for help on using the changeset viewer.