7008513: Case TranslucentJAppletTest.jtr automatically failed due to java.lang.RuntimeException
Set transparent background to the applet Reviewed-by: art, dcherepanov
This commit is contained in:
parent
f9feed6668
commit
c2d4b9c218
@ -43,6 +43,7 @@ public class TranslucentJAppletTest {
|
||||
private static void initAndShowGUI() {
|
||||
frame = new JFrame();
|
||||
JApplet applet = new JApplet();
|
||||
applet.setBackground(new Color(0, 0, 0, 0));
|
||||
JPanel panel = new JPanel() {
|
||||
protected void paintComponent(Graphics g) {
|
||||
paintComponentCalled = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user