Split from - http://www.daniweb.com/forums/thread158197.html

well basically what i'm trying to do is build a program that takes a file and copies is to another new file identically!!!

hi.. uhm.. how did you do this? i mean how to copy a file from jFileChooser to another destination? is it possible to copy the file without opening the jFileChooser showSaveDialog?

Yeah. fileChooser.getSelectedFile() will return a File Object. Then you can use the basic I/O methods provided in the Java libraries to open, read, then write that file to whatever location you want.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.