jdk/test/java/awt/Mixing/AWT_Mixing/MixingFrameResizing.java
changeset 39056 d99e63b6d962
parent 36511 9d0388c6b336
equal deleted inserted replaced
39055:92f7fed22d5f 39056:d99e63b6d962
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    35  * AWT/Swing overlapping test.
    35  * AWT/Swing overlapping test.
    36  * <p>This test puts heavyweight component into JFrame and verifies that it's being drawn correctly after resizing the frame.
    36  * <p>This test puts heavyweight component into JFrame and verifies that it's being drawn correctly after resizing the frame.
    37  * <p>See base class for test info.
    37  * <p>See base class for test info.
    38  */
    38  */
    39 /*
    39 /*
    40 @test
    40  * @test
    41 @bug 6777370
    41  * @key headful
    42 @summary Issues when resizing the JFrame with HW components
    42  * @bug 6777370
    43 @author sergey.grinev@oracle.com: area=awt.mixing
    43  * @summary Issues when resizing the JFrame with HW components
    44 @library /java/awt/patchlib  ../../regtesthelpers
    44  * @author sergey.grinev@oracle.com: area=awt.mixing
    45 @modules java.desktop/sun.awt
    45  * @library /java/awt/patchlib  ../../regtesthelpers
    46          java.desktop/java.awt.peer
    46  * @modules java.desktop/sun.awt
    47 @build java.desktop/java.awt.Helper
    47  *          java.desktop/java.awt.peer
    48 @build Util
    48  * @build java.desktop/java.awt.Helper
    49 @run main MixingFrameResizing
    49  * @build Util
       
    50  * @run main MixingFrameResizing
    50  */
    51  */
    51 public class MixingFrameResizing extends OverlappingTestBase {
    52 public class MixingFrameResizing extends OverlappingTestBase {
    52 
    53 
    53     {testEmbeddedFrame = true;}
    54     {testEmbeddedFrame = true;}
    54 
    55