-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
6
-
x86
-
windows_xp
In Tests:
api/javax_swing/interactive/JFileChooserTests.html#JFileChooser[JFileChooserTest0006]
api/javax_swing/interactive/JFileChooserTests.html#JFileChooser[JFileChooserTest0007]
setApproveButtonText() and setApproveButtonToolTipText() works wrong for directories. Button text and tooltip shown correct if selection at file and shown default values if directory selected.
JCK: 6.0 b07
JDK 6.0 b52
Platform : windows XP home, professional
To reproduce start api/javax_swing/interactive/JFileChooserTests.html#JFileChooser [JFileChooserTest0006] and [JFileChooserTest0007] tests. Set new approve button text or tooltip. Open file dialog and try to select files and directories.
api/javax_swing/interactive/JFileChooserTests.html#JFileChooser[JFileChooserTest0006]
api/javax_swing/interactive/JFileChooserTests.html#JFileChooser[JFileChooserTest0007]
setApproveButtonText() and setApproveButtonToolTipText() works wrong for directories. Button text and tooltip shown correct if selection at file and shown default values if directory selected.
JCK: 6.0 b07
JDK 6.0 b52
Platform : windows XP home, professional
To reproduce start api/javax_swing/interactive/JFileChooserTests.html#JFileChooser [JFileChooserTest0006] and [JFileChooserTest0007] tests. Set new approve button text or tooltip. Open file dialog and try to select files and directories.
- duplicates
-
JDK-4886855 JFileChooser: Approve button's text gets reset when dir is selected
-
- Closed
-