Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6635277
Votes 0
Synopsis Incorrect text seen when creating a new folder, when selection is on the image file in JFileChooser
Category java:classes_swing
Reported Against
Release Fixed 7(b27)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 29-NOV-2007
Description
When a fileChooser is opened in a "Preview" mode. Creating a new folder when selection is on some image file. A wrong value ( extra 'N' Character ) is seen when the folder is created. I have attached the screen shot of the same. This is seen Metal / windows  & Nimbus LookAndFeel.  
Following are the build that i used
This works correctly in jdk  1.4.2 fcs b28 build. Fails in jdk  1.5.0\fcs\b64 the build i have & it fails in all jdk  1.6.0 & its update release. As it works correctly in jdk  1.4.2 & fails from jdk  1.5.0 onwards hence its a regression in jdk 1.5.0.

Step to reproduced:
-------------------
1) Run SwingSet2.
2) Select FileChooser Demo.
3) Click on "Show Preview JFileChoose" button. Click on some image file & when the selection is on the file , click on the 'Create New Folder' button.  Observe that an extra 'N' is seen. As in the attached screen shot. If you see the same then the bug is reproduced.
Posted Date : 2007-11-29 09:54:06.0
Work Around
N/A
Evaluation
The size of JTextField should be setted correctly.
Posted Date : 2008-01-15 13:33:57.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang