< prev index next >

test/jdk/java/awt/Modal/ToBack/ToBackModal5Test.java

Print this page




  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 
  25 /*
  26  * @test
  27  * @key headful
  28  * @bug 8054143
  29  * @summary Check whether a modal dialog having a visible Frame
  30  *          constructor still stays on top of the blocked windows even
  31  *          after calling toBack for the dialog.
  32  *
  33  * @library ../helpers /lib/testlibrary/
  34  * @library /test/lib
  35  * @build ExtendedRobot
  36  * @build Flag
  37  * @build TestDialog
  38  * @build TestFrame
  39  * @run main ToBackModal5Test
  40  */
  41 
  42 public class ToBackModal5Test {
  43 
  44     public static void main(String[] args) throws Exception {
  45         (new ToBackFDFTest(
  46             true, ToBackFDFTest.DialogOwner.FRAME)).doTest();
  47     }
  48 }


  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 
  25 /*
  26  * @test
  27  * @key headful
  28  * @bug 8054143
  29  * @summary Check whether a modal dialog having a visible Frame
  30  *          constructor still stays on top of the blocked windows even
  31  *          after calling toBack for the dialog.
  32  *
  33  * @library ../helpers /lib/client/
  34  * @library /test/lib
  35  * @build ExtendedRobot
  36  * @build Flag
  37  * @build TestDialog
  38  * @build TestFrame
  39  * @run main ToBackModal5Test
  40  */
  41 
  42 public class ToBackModal5Test {
  43 
  44     public static void main(String[] args) throws Exception {
  45         (new ToBackFDFTest(
  46             true, ToBackFDFTest.DialogOwner.FRAME)).doTest();
  47     }
  48 }
< prev index next >