Hi all expert programmers ,
I've written a java applet for chatting . When a user send a file for each other , it will open a JFileChooser to save file . But I didn't use only JFileChooser , i used a JFrame in which i used JFileChooser and some JButton . Since I wanted to rename that file which i reveived , i wrote new file's name and clicked "Save" . But it still saved with old file's name . So i tried again , i wrote new file's name and entered , then clicked "Save" . At this time , it saved with new file' name . I cant understand why i must enter . Is anyone help me ?