-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.0
-
sparc
-
solaris_2.5.1
Name: rk38400 Date: 05/06/98
This only happens the first time a TextField is
displayed. Replication steps:
1) Write a Swing 1.0.2 application that pops up
a JTextField.
2) Click in the JTextField. No insert cursor will
be displayed. This is the bug.
3) Change focus to another window other than the
Swing application.
4) Switching back to the Swing application and
clicking in the JTextField displays the cursor
as expected.
5) Further creation of JTextFields and using them
works as expected from then on.
(Review ID: 29821)
======================================================================
ralph.kar@Eng 1998-05-21
Got more info from the customer (code is attached):
I spent some time and wrote an application that uses some of my code which
reproduces the bug 100%. It is based on the notepad application. I've attached
the source code and the properties file. Here's how to run it on Solaris
JDK 1.1.6, (Solaris 2.5.1), and Swing 1.0.2:
1) Compile and run the application.
2) In the file menu, choose 'First Step'.
3) Click the text field (should be the blank white area).
4) Choose 'Second Step' from the File menu.
5) A dialog box will pop up. Clicking on a text field shows
no I - beam cursor.
6) If the window focus for the application is lost, like clicking
on another xterm (or moving outside the window if focus follows
mouse), and then focusing the application again, the I-Beam
cursor will re-appear.
If this still doesn't reporduce the problem on your end, you may as well
set the status of my bug to 'Unreproducible'. I could be jinxed.
-Neal
This only happens the first time a TextField is
displayed. Replication steps:
1) Write a Swing 1.0.2 application that pops up
a JTextField.
2) Click in the JTextField. No insert cursor will
be displayed. This is the bug.
3) Change focus to another window other than the
Swing application.
4) Switching back to the Swing application and
clicking in the JTextField displays the cursor
as expected.
5) Further creation of JTextFields and using them
works as expected from then on.
(Review ID: 29821)
======================================================================
ralph.kar@Eng 1998-05-21
Got more info from the customer (code is attached):
I spent some time and wrote an application that uses some of my code which
reproduces the bug 100%. It is based on the notepad application. I've attached
the source code and the properties file. Here's how to run it on Solaris
JDK 1.1.6, (Solaris 2.5.1), and Swing 1.0.2:
1) Compile and run the application.
2) In the file menu, choose 'First Step'.
3) Click the text field (should be the blank white area).
4) Choose 'Second Step' from the File menu.
5) A dialog box will pop up. Clicking on a text field shows
no I - beam cursor.
6) If the window focus for the application is lost, like clicking
on another xterm (or moving outside the window if focus follows
mouse), and then focusing the application again, the I-Beam
cursor will re-appear.
If this still doesn't reporduce the problem on your end, you may as well
set the status of my bug to 'Unreproducible'. I could be jinxed.
-Neal
- duplicates
-
JDK-4129147 Caret is gone in metal look after switch to motif and back to the metal
-
- Closed
-