public void bamChonAnh() {
final JFileChooser fileDialog = new JFileChooser();
int returnVal = fileDialog.showOpenDialog(panel);
if (returnVal == JFileChooser.APPROVE_OPTION) {
java.io.File file = fileDialog.getSelectedFile();
txtTenFile.setText(file.getName());
}
}
Sau khi em chọn được 1 file từ folder. Em muốn lưu file vừa chọn sang một folder khác thì làm thế nào ạ.

83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?