-
Bug
-
Resolution: Won't Fix
-
P3
-
6
-
sparc
-
solaris_10
I have a frame, which contains a textfield & a button. When i click on the button. A file dialog is visible which block is a modal dialog. Moving the mouse pointer on the frame , i can see the default mouse cursor which is the correct behaviour. Once the block dialog is invisible, moving the mouse on the component of the frame , the mouse cursor should behave the correct way ( example :- moving the mouse pointer on the text component should results in text cursor) ,but this does not work as expected, when the java dialog is closed by pressing ALT + F4 or pressing escape for file dialog.
Step to reproduce:
------------------
1) Run the below program. Move the frame to center of the screen.
2) Click on the "Press Me" button. You will see a file dialog.
3) Move the mouse pointer on the text field. Observe that mouse pointer is default cursor.
4) press escape or ALT + F4. the filedialog is closed. Observe that mouse pointer is still default . trying clicking on the textfield. typing some character & select the text. still the mouse pointer is default. If you see the same then the bug is reproduced.
Moving the mouse outside the textfield & getting back on the textfield, the mouse cursor is text cursor.
I tested this on Mustang b90 to till jdk 7.0 b09.
You can see a similar bug http://monaco.sfbay.sun.com/detail.jsf?cr=6478635
Step to reproduce:
------------------
1) Run the below program. Move the frame to center of the screen.
2) Click on the "Press Me" button. You will see a file dialog.
3) Move the mouse pointer on the text field. Observe that mouse pointer is default cursor.
4) press escape or ALT + F4. the filedialog is closed. Observe that mouse pointer is still default . trying clicking on the textfield. typing some character & select the text. still the mouse pointer is default. If you see the same then the bug is reproduced.
Moving the mouse outside the textfield & getting back on the textfield, the mouse cursor is text cursor.
I tested this on Mustang b90 to till jdk 7.0 b09.
You can see a similar bug http://monaco.sfbay.sun.com/detail.jsf?cr=6478635