< prev index next >

test/jdk/java/awt/Frame/MaximizedToUnmaximized/MaximizedToUnmaximized.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, 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. --- 1,7 ---- /* ! * Copyright (c) 2015, 2018, 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.
*** 29,41 **** import java.awt.Toolkit; /** * @test * @key headful ! * @bug 8065739 * @summary [macosx] Frame warps to lower left of screen when displayed * @author Alexandr Scherbatiy */ public class MaximizedToUnmaximized { public static void main(String[] args) throws Exception { testFrame(false); --- 29,43 ---- import java.awt.Toolkit; /** * @test * @key headful ! * @bug 8065739 8129569 ! * @requires (os.family == "mac") * @summary [macosx] Frame warps to lower left of screen when displayed * @author Alexandr Scherbatiy + * @run main/othervm MaximizedToUnmaximized */ public class MaximizedToUnmaximized { public static void main(String[] args) throws Exception { testFrame(false);
< prev index next >