Duplicate :
|
To Reproduce: Could not select a folder, from Open / Save FileChooser on Windows. 1, Run File Chooser demo 2. Select the Open dialog type 3. Select any folder from the recently opened dialog, and click on open. 4. You'll see another dialog with the message "An error occured, no file was choosen" This is regression, since I could not reproduce this in the latest (b111) from \koori\onestop\jdk\7\promoted\latest\binaries\windows-i586\ Same issue with the Save option as well, and custom is ok. I could reproduce this on Win, Solaris is Ok Lana had a similar issue using SwingSet2 as well on Linux as well. 2) Run SwingSet2 demo: bin/java -jar demo/jfc/SwingSet2/SwingSet2.jar 3) Click on the 5th Demo (JFileChooser) Click on Show Plain JFileChooser, you'll see a window menu, click on any directory, the window menu disappears (as if you double-clicked on a file). Same for Preview JFileChooser. Custom JFileChooser seems to be OK, it lets you browse the directories and dissappears only when you pick a file (not a directory). There is a new failed test from the SQE-test-ws, http://sqeweb.sfbay.sun.com/net/sqenfs-1/export1/comp/swing/test-Results/PIT/7-b112-PIT/Solaris/Standalone_swing_2010_09_23_11_06_59/am193964.SunOS.sparc/bug4357012OP/ Swing_JFileChooser/Automated/bug4357012OP which needs to be investigated, if it is the same issue. it may relate to: CR6987671