se sai usare jfilechooser penso tu non abbia bisogno di commenti sul codice.codice:JFileChooser jfc=new JFileChooser(); int res=jfc.showSaveDialog(parent); if(res==JFileChooser.APPROVE_OPTION){ File out=jfc.getSelectedFile(); out=new File(out.getAbsolutePath()+ext); }![]()

Rispondi quotando