WindowDragTest.java revision 5769
5769N/A * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. 4905N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4905N/A * This code is free software; you can redistribute it and/or modify it 4905N/A * under the terms of the GNU General Public License version 2 only, as 4905N/A * published by the Free Software Foundation. 4905N/A * This code is distributed in the hope that it will be useful, but WITHOUT 4905N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 4905N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 4905N/A * version 2 for more details (a copy is included in the LICENSE file that 4905N/A * You should have received a copy of the GNU General Public License version 4905N/A * 2 along with this work; if not, write to the Free Software Foundation, 4905N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 4905N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 4905N/A * or visit www.oracle.com if you need additional information or have any 4905N/A @summary dragged dialog freezes system on dispose 4905N/A @author Oleg Pekhovskiy: area=awt.toplevel 4905N/A @library ../../regtesthelpers 4905N/A // Clicking frame1 succeeded - mouse is not captured 4905N/A // Move cursor to frame2 title bar to drag 4905N/A // Dispose window being dragged 4905N/A // Release mouse button to be able to get MOUSE_CLICKED event on Util.clickOnComp() 4905N/A // Click frame1 to check whether mouse is not captured by frame2