< prev index next >
test/java/awt/SplashScreen/FullscreenAfterSplash/FullScreenAfterSplash.java
Print this page
@@ -1,7 +1,7 @@
/*
-* Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
+* Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -20,23 +20,26 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
import jdk.testlibrary.OSInfo;
-import java.awt.*;
+import java.awt.Point;
import java.awt.Robot;
+import java.awt.Window;
import java.awt.event.InputEvent;
import java.lang.InterruptedException;
import java.lang.System;
import java.lang.Thread;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
-import javax.swing.*;
+import javax.swing.JFrame;
+import javax.swing.SwingUtilities;
+import javax.swing.WindowConstants;
/*
* @test
- * @bug 8024185
+ * @bug 8024185 8140329
* @summary Native Mac OS X full screen does not work after showing the splash
* @requires (os.family == "mac")
* @library ../
* @library ../../../../lib/testlibrary
* @modules java.desktop/sun.awt
< prev index next >