-
Bug
-
Resolution: Not an Issue
-
P2
-
None
-
6
-
generic
-
generic
This occurs with b45 AWT PIT build with XToolkit and MToolkit
java version "1.6.0-awt.pit-int-awt-blade"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-awt.pit-int-awt-blade-df153228_14_Jul_2005_06_02-b00)
Java HotSpot(TM) Server VM (build 1.6.0-ea-b42, mixed mode)
I've set a file name programmatically in a FileDialog. When the file dialog shows up, I'm selecting another file name by clicking on a file. But when I select another directory, the selected file name gets over ridden by the pre-set file name.
Also, in XToolkit, if I click the Filter button on the file dialog, the selected file name gets over-ridden by the preset file name.
Once the user clicks on a file to select it, the preset file name should not over ride the selected file name. File dialog behaves that way in Windows.
To reproduce:
1. Run the attached testcase
2. Select a file and then click on a directory. If the selected file name gets over ridden by the default one, bug is reproduced.
###@###.### 2005-07-20 14:00:27 GMT
java version "1.6.0-awt.pit-int-awt-blade"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-awt.pit-int-awt-blade-df153228_14_Jul_2005_06_02-b00)
Java HotSpot(TM) Server VM (build 1.6.0-ea-b42, mixed mode)
I've set a file name programmatically in a FileDialog. When the file dialog shows up, I'm selecting another file name by clicking on a file. But when I select another directory, the selected file name gets over ridden by the pre-set file name.
Also, in XToolkit, if I click the Filter button on the file dialog, the selected file name gets over-ridden by the preset file name.
Once the user clicks on a file to select it, the preset file name should not over ride the selected file name. File dialog behaves that way in Windows.
To reproduce:
1. Run the attached testcase
2. Select a file and then click on a directory. If the selected file name gets over ridden by the default one, bug is reproduced.
###@###.### 2005-07-20 14:00:27 GMT