Open Jiayin328 opened 6 years ago
The system should allow user to specify which directory to save the files downloaded. Try explore how to get the desire directory from user and the exact path to that directory. 1.https://msdn.microsoft.com/en-us/library/07wt70x2(v=vs.110).aspx 2.https://msdn.microsoft.com/en-us/library/c1sez4sc(v=vs.110).aspx 3.https://stackoverflow.com/questions/15952711/finding-absolute-path 4.https://stackoverflow.com/questions/17351043/how-to-get-absolute-path-to-file-in-resources-folder-in-your-project
Try this out; https://www.mkyong.com/swing/java-swing-jfilechooser-example/
The system should allow user to specify which directory to save the files downloaded. Try explore how to get the desire directory from user and the exact path to that directory. 1.https://msdn.microsoft.com/en-us/library/07wt70x2(v=vs.110).aspx 2.https://msdn.microsoft.com/en-us/library/c1sez4sc(v=vs.110).aspx 3.https://stackoverflow.com/questions/15952711/finding-absolute-path 4.https://stackoverflow.com/questions/17351043/how-to-get-absolute-path-to-file-in-resources-folder-in-your-project