-
Bug
-
Resolution: Fixed
-
P3
-
1.4.1, 5.0
-
b73
-
x86
-
windows_2000, windows_xp
Name: jk109818 Date: 04/10/2003
FULL PRODUCT VERSION :
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
FULL OS VERSION :
Microsoft Windows 2000 [Version 5.00.2195]
A DESCRIPTION OF THE PROBLEM :
Creating a class that is called Edit or edit and extends JFrame and displaying the frame, the application shows a blinking cursor in the top left corner. Using the mouse to select the position of the cursor, the text used in setTitle is displayed on a white background.
This does not happen when the class is renamed.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Build and run the application (Test.java).
EXPECTED VERSUS ACTUAL BEHAVIOR :
The Application should display an empty frame with a title set and NO blinking cursor.
See description.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
class Edit extends JFrame
{
Edit() {
setTitle("This shows up in a kind of textfield on Win2k");
setSize(400,400);
show();
}
}
public class Test
{
public static void main(String args[]) {
new Edit();
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Rename class Edit to Whatever
Release Regression From : 1.3.1_06
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.
(Review ID: 183372)
======================================================================
FULL PRODUCT VERSION :
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
FULL OS VERSION :
Microsoft Windows 2000 [Version 5.00.2195]
A DESCRIPTION OF THE PROBLEM :
Creating a class that is called Edit or edit and extends JFrame and displaying the frame, the application shows a blinking cursor in the top left corner. Using the mouse to select the position of the cursor, the text used in setTitle is displayed on a white background.
This does not happen when the class is renamed.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Build and run the application (Test.java).
EXPECTED VERSUS ACTUAL BEHAVIOR :
The Application should display an empty frame with a title set and NO blinking cursor.
See description.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
class Edit extends JFrame
{
Edit() {
setTitle("This shows up in a kind of textfield on Win2k");
setSize(400,400);
show();
}
}
public class Test
{
public static void main(String args[]) {
new Edit();
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Rename class Edit to Whatever
Release Regression From : 1.3.1_06
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.
(Review ID: 183372)
======================================================================
- duplicates
-
JDK-6449860 JFrame subclass called Ghost runs but isn't visible
- Closed
- relates to
-
JDK-6480100 Top level window class names should be registered on Win32
- Open