STIW3054 / Repo5

For Team5
1 stars 3 forks source link

Save files to desire directory #12

Open Jiayin328 opened 6 years ago

Jiayin328 commented 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

Jiayin328 commented 6 years ago

Try this out; https://www.mkyong.com/swing/java-swing-jfilechooser-example/