SimpleWindowActivationTest.java revision 6097
6097N/A * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. 6097N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6097N/A * This code is free software; you can redistribute it and/or modify it 6097N/A * under the terms of the GNU General Public License version 2 only, as 6097N/A * published by the Free Software Foundation. 6097N/A * This code is distributed in the hope that it will be useful, but WITHOUT 6097N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 6097N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 6097N/A * version 2 for more details (a copy is included in the LICENSE file that 6097N/A * You should have received a copy of the GNU General Public License version 6097N/A * 2 along with this work; if not, write to the Free Software Foundation, 6097N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 6097N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 6097N/A * or visit www.oracle.com if you need additional information or have any 6097N/A * @summary Tests that override redirect window gets activated on click. 6097N/A * @author anton.tarasov@sun.com: area=awt.focus 6097N/A * @library ../../regtesthelpers 6097N/A * @run main SimpleWindowActivationTest 6097N/A // bring focus back to the frame 6097N/A // Test 2. Verifies that clicking on a component of unfocusable Window