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