jdk/test/java/awt/Focus/ToFrontFocusTest/ToFrontFocus.html
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 21596 0e3a39f29dbc
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
<html>
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
<!--  
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
  @test
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
  @bug 4092033 4529626
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
  @summary Tests that toFront makes window focused unless it is non-focusable
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
  @author  area=awt.focus
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
  @library ../../regtesthelpers
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
  @build Util
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
  @run applet ToFrontFocus.html
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
  -->
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
<head>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
<title>  </title>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
</head>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
<body>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
<h1>ToFrontFocus<br>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
4092033 : (P4/S5) - window.toFront() method is now also setting focus
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
4529626 : (P4/S2) - REGRESSION:In solaris and Linux ,toFront() is not making frame as the Focused.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
</h1>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
<p> This is an AUTOMATIC test, simply wait for completion </p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
<APPLET CODE="ToFrontFocus.class" WIDTH=200 HEIGHT=200></APPLET>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
</body>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
</html>