DeiconifiedFrameLoosesFocus.html revision 14851:980da45565c8
1223311Sdougb<!--
2223311Sdougb Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
3223311Sdougb DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4223311Sdougb
5223311Sdougb This code is free software; you can redistribute it and/or modify it
6296807Sian under the terms of the GNU General Public License version 2 only, as
7223311Sdougb published by the Free Software Foundation.
8223311Sdougb
9292752Sian This code is distributed in the hope that it will be useful, but WITHOUT
10292752Sian ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11292752Sian FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12292752Sian version 2 for more details (a copy is included in the LICENSE file that
13292752Sian accompanied this code).
14292752Sian
15292752Sian You should have received a copy of the GNU General Public License version
16292752Sian 2 along with this work; if not, write to the Free Software Foundation,
17292752Sian Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18292752Sian
19292752Sian Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20223311Sdougb or visit www.oracle.com if you need additional information or have any
21223311Sdougb questions.
22223311Sdougb-->
23223311Sdougb
24230099Sdougb<html>
25223408Sdougb<!--
26223311Sdougb  @test
27223311Sdougb  @key headful
28223311Sdougb  @bug        6480534
29223311Sdougb  @summary    A Frame changing its state from ICONIFIED to NORMAL should regain focus.
30223311Sdougb  @author     anton.tarasov@...: area=awt.focus
31292752Sian  @library    ../../regtesthelpers
32223311Sdougb  @build      Util
33292752Sian  @run        applet DeiconifiedFrameLoosesFocus.html
34292752Sian  -->
35223311Sdougb<head>
36223311Sdougb<title>DeiconifiedFrameLoosesFocus</title>
37223311Sdougb</head>
38223311Sdougb<body>
39223311Sdougb 
40223311Sdougb<h1>DeiconifiedFrameLoosesFocus<br>Bug ID: 6480534</h1>
41223311Sdougb 
42292752Sian<p>See the dialog box (usually in upper left corner) for instructions</p>
43292752Sian 
44292752Sian<APPLET CODE=DeiconifiedFrameLoosesFocus.class WIDTH=200 HEIGHT=200></APPLET>
45292752Sian</body>
46292752Sian</html>
47292752Sian