-
Bug
-
Resolution: Fixed
-
P4
-
5.0, 6
-
b45
-
generic, x86
-
linux, solaris_2.5.1
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2136269 | 5.0u8 | Yuri Nesterenko | P4 | Resolved | Fixed | b01 |
Name: rmT116609 Date: 08/11/2004
FULL PRODUCT VERSION :
java version "1.5.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b60)
Java HotSpot(TM) Client VM (build 1.5.0-beta3-b60, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux jupiter 2.6.3-7mdk #1 Wed Mar 17 15:56:42 CET 2004 i686 unknown unknown GNU/Linux
EXTRA RELEVANT SYSTEM CONFIGURATION :
Mandrake Linux 10.0, KDE
A DESCRIPTION OF THE PROBLEM :
A simple JWindow is displayed with no applet warning when run as an unsigned applet.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the attached code.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A window with an applet warning should be displayed.
ACTUAL -
A window with no applet warning is displayed. Additionally, not the entire contents of the window is painted red, as it should be.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Java source code:
import java.applet.*;
import javax.swing.*;
import java.awt.*;
public class WindowApplet extends Applet{
public void start(){
JFrame f = new JFrame("Test Frame");
f.setBounds(50, 50, 100, 100);
f.setVisible(true);
JWindow window = new JWindow(f);
JPanel panel = new JPanel();
panel.setOpaque(true);
panel.setBackground(Color.red);
window.setContentPane(panel);
window.setBounds(50, 50, 500, 500);
window.setVisible(true);
window.toFront();
}
}
---------- END SOURCE ----------
(Incident Review ID: 296558)
======================================================================
###@###.### 2004-08-11
FULL PRODUCT VERSION :
java version "1.5.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b60)
Java HotSpot(TM) Client VM (build 1.5.0-beta3-b60, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux jupiter 2.6.3-7mdk #1 Wed Mar 17 15:56:42 CET 2004 i686 unknown unknown GNU/Linux
EXTRA RELEVANT SYSTEM CONFIGURATION :
Mandrake Linux 10.0, KDE
A DESCRIPTION OF THE PROBLEM :
A simple JWindow is displayed with no applet warning when run as an unsigned applet.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the attached code.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A window with an applet warning should be displayed.
ACTUAL -
A window with no applet warning is displayed. Additionally, not the entire contents of the window is painted red, as it should be.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Java source code:
import java.applet.*;
import javax.swing.*;
import java.awt.*;
public class WindowApplet extends Applet{
public void start(){
JFrame f = new JFrame("Test Frame");
f.setBounds(50, 50, 100, 100);
f.setVisible(true);
JWindow window = new JWindow(f);
JPanel panel = new JPanel();
panel.setOpaque(true);
panel.setBackground(Color.red);
window.setContentPane(panel);
window.setBounds(50, 50, 500, 500);
window.setVisible(true);
window.toFront();
}
}
---------- END SOURCE ----------
(Incident Review ID: 296558)
======================================================================
###@###.### 2004-08-11
- backported by
-
JDK-2136269 Possible to create an applet window with no applet warning
-
- Resolved
-
- duplicates
-
JDK-5085648 A window created by an unsigned applet is not fully shown
-
- Closed
-