jdk/test/java/awt/Frame/MaximizedNormalBoundsUndecoratedTest/MaximizedNormalBoundsUndecoratedTest.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2007, 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. |
24 import java.awt.Frame; |
24 import java.awt.Frame; |
25 import java.awt.Toolkit; |
25 import java.awt.Toolkit; |
26 import java.awt.Dimension; |
26 import java.awt.Dimension; |
27 /* |
27 /* |
28 * @test |
28 * @test |
|
29 * @key headful |
29 * @bug 8066436 |
30 * @bug 8066436 |
30 * @summary Set the size of frame. Set extendedState Frame.MAXIMIZED_BOTH and Frame.NORMAL |
31 * @summary Set the size of frame. Set extendedState Frame.MAXIMIZED_BOTH and Frame.NORMAL |
31 * sequentially for undecorated Frame and . |
32 * sequentially for undecorated Frame and . |
32 * Check if resulted size is equal to original frame size. |
33 * Check if resulted size is equal to original frame size. |
33 * @run main MaximizedNormalBoundsUndecoratedTest |
34 * @run main MaximizedNormalBoundsUndecoratedTest |