This commit is contained in:
codeanticode
2015-10-02 00:11:33 -04:00
19 changed files with 453 additions and 296 deletions
+1 -1
View File
@@ -6408,7 +6408,7 @@ public class PApplet implements PConstants {
fileChooser.setDialogTitle(prompt);
fileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
if (defaultSelection != null) {
fileChooser.setSelectedFile(defaultSelection);
fileChooser.setCurrentDirectory(defaultSelection);
}
int result = fileChooser.showOpenDialog(parentFrame);