Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4347983

InvalidKeyCode exception was thrown when keys like At, plus pressed by Robot.

XMLWordPrintable

    • rc1
    • x86, sparc
    • linux, solaris_7

        In Windows & Solaris Invalid KeyCode Exception was thrown when
             KeyPressed was done for following keys.

        a)Exclamation Mark
        b)At
        c)Number Sign
        d)Dollar
        e)Circumflex
        f)Ampersand
        g)Asterisk
        h)Left Parenthesis
        i)Right Parenthesis
        j)Underscore
        k)Plus
        l)Left Brace
        m)Right Brace
        n)Colon
        o)Double Quote
        p)Less
        q)Greater

        How to reproduce the Bug? -------->
        Run this sample code. You would see a frame with a red Canvas.This is an automated test. No user interaction allowed.The robot will press the above mentioned keys. If key events are triggered, the message will be displayed
        on the text area.

            If Invalid Key Code Exception is thrown, the bug is reproduced.

              ehawkessunw Eric Hawkes (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: