MaximizedFrameTest.java revision 2362
2362N/A * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. 877N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 877N/A * This code is free software; you can redistribute it and/or modify it 877N/A * under the terms of the GNU General Public License version 2 only, as 877N/A * published by the Free Software Foundation. 877N/A * This code is distributed in the hope that it will be useful, but WITHOUT 877N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 877N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 877N/A * version 2 for more details (a copy is included in the LICENSE file that 877N/A * accompanied this code). 877N/A * You should have received a copy of the GNU General Public License version 877N/A * 2 along with this work; if not, write to the Free Software Foundation, 877N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 877N/A @summary Metalworks frame maximizes after the move 877N/A @author Andrei.Dmitriev area=Event 877N/A "This is an AUTOMATIC test",
877N/A "simply wait until it is done" 877N/A // System.out.println("JFrame's LayeredPane " + lPane ); 877N/A //-------------------------------- 877N/A // it is sufficient to get maximized Frame only once. 877N/A //Moving a mouse pointer less than a few pixels 877N/A //leads to rising a double click event. 877N/A //We have to use exceeded the AWT_MULTICLICK_SMUDGE 877N/A //const value (which is 4 by default on GNOME) to test that.