< prev index next >

test/jdk/java/awt/KeyboardFocusmanager/ConsumeNextMnemonicKeyTypedTest/ConsumeNextMnemonicKeyTypedTest.html

Print this page
rev 51542 : 8210039: move OSInfo to top level testlibrary
Reviewed-by: duke


  11  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  version 2 for more details (a copy is included in the LICENSE file that
  13  accompanied this code).
  14 
  15  You should have received a copy of the GNU General Public License version
  16  2 along with this work; if not, write to the Free Software Foundation,
  17  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 
  19  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  or visit www.oracle.com if you need additional information or have any
  21  questions.
  22 -->
  23 
  24 <html>
  25 <!--
  26   @test
  27   @key headful
  28   @bug        6346690
  29   @summary    Tests that key_typed is consumed after mnemonic key_pressed is handled for a menu item.
  30   @author     anton.tarasov@sun.com: area=awt-focus
  31   @library   ../../../../lib/testlibrary
  32   @build jdk.testlibrary.OSInfo
  33   @run        applet ConsumeNextMnemonicKeyTypedTest.html
  34   -->
  35 <head>
  36 <title>ConsumeNextMnemonicKeyTypedTest</title>
  37 </head>
  38 <body>
  39  
  40 <h1>ConsumeNextMnemonicKeyTypedTest<br>Bug ID: 6346690</h1>
  41  
  42 <p>See the dialog box (usually in upper left corner) for instructions</p>
  43  
  44 <APPLET CODE=ConsumeNextMnemonicKeyTypedTest.class WIDTH=200 HEIGHT=200></APPLET>
  45 </body>
  46 </html>


  11  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  version 2 for more details (a copy is included in the LICENSE file that
  13  accompanied this code).
  14 
  15  You should have received a copy of the GNU General Public License version
  16  2 along with this work; if not, write to the Free Software Foundation,
  17  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 
  19  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  or visit www.oracle.com if you need additional information or have any
  21  questions.
  22 -->
  23 
  24 <html>
  25 <!--
  26   @test
  27   @key headful
  28   @bug        6346690
  29   @summary    Tests that key_typed is consumed after mnemonic key_pressed is handled for a menu item.
  30   @author     anton.tarasov@sun.com: area=awt-focus
  31   @library    /test/lib
  32   @build      jdk.test.lib.Platform
  33   @run        applet ConsumeNextMnemonicKeyTypedTest.html
  34   -->
  35 <head>
  36 <title>ConsumeNextMnemonicKeyTypedTest</title>
  37 </head>
  38 <body>
  39  
  40 <h1>ConsumeNextMnemonicKeyTypedTest<br>Bug ID: 6346690</h1>
  41  
  42 <p>See the dialog box (usually in upper left corner) for instructions</p>
  43  
  44 <APPLET CODE=ConsumeNextMnemonicKeyTypedTest.class WIDTH=200 HEIGHT=200></APPLET>
  45 </body>
  46 </html>
< prev index next >