提交 ee5f71da 编写于 作者: A anthony

7008513: Case TranslucentJAppletTest.jtr automatically failed due to java.lang.RuntimeException

Summary: Set transparent background to the applet
Reviewed-by: art, dcherepanov
上级 5fb48cd6
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册