-
Bug
-
Resolution: Fixed
-
P2
-
7
-
b01
-
x86
-
windows_xp, windows_7
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2210681 | 7u2 | Pavel Porvatov | P2 | Resolved | Fixed | b03 |
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b125)
Java HotSpot(TM) Client VM (build 20.0-b06, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
The goto parent directory button doesn’t operate if the File name control has focus (in JFileChooser). This problem does not exist in JDK 6.0_20.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the test that opens JFileChooser dialog and try to press the button.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
JFileChooser should show files in the parent directory.
ACTUAL -
Nothing happens.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package tests.tests4;
import javax.swing.JFileChooser;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
public class choose2 {
public static void main(String[] args) {
try {
// Set Windows Look&Feel
UIManager.setLookAndFeel(
UIManager.getSystemLookAndFeelClassName());
} catch (UnsupportedLookAndFeelException e) {
} catch (ClassNotFoundException e) {
} catch (InstantiationException e) {
} catch (IllegalAccessException e) {
};
JFileChooser chooser1= new JFileChooser();
chooser1.showSaveDialog(null);
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
I don't know.
- backported by
-
JDK-2210681 The goto parent directory button doesn’t operate in JFileChooser
-
- Resolved
-
- duplicates
-
JDK-7062705 JFileChooser "level up" button does not work
-
- Closed
-
-
JDK-7121380 JFileCHooser - need focus inside the screen for Up Button to work
-
- Closed
-
-
JDK-7079960 JFileChooser Up One Level button not working in Windows XP w/System Look/Feel
-
- Closed
-
-
JDK-7090874 REGRESSION: No repond on "Up One Level" of JFileChooser with System LAF
-
- Closed
-
- relates to
-
JDK-6589634 Unable to view focus on "Up one level", "create new folder" etc. of JFileChooser Dialog
-
- Resolved
-