I found strange behaviour in JFileChooser Java class. When you set selected file in code and when user enter File Name filed the selected file if clear and field become blank. This is not happening in standard Sun JVM.
Here is code sample:
import java.io.File;
import javax.swing.JFileChooser;
public class a {
public static void main(String[] args) {
JFileChooser fileChooser=new JFileChooser();
fileChooser.setSelectedFile(new File("aaa"));
fileChooser.showSaveDialog(null);
}
}