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

VK_ENTER events are not transferred from a Robot source to a Swing target.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.3.1_02, 1.4.0
    • client-libs
    • x86
    • windows_2000


      Source code is attached for two tests. RobotTest gets java.awt.Robot
      to generate a sequence of keyboard events and targets a TextArea in a
      Frame. JRobotTest does the same with a JTextArea/JFrame instead of a
      TextArea/Frame

      When they are done running, the text areas should contain the sequence

      0123456789abcdefghijklmnopqrstuvwxyz`\],=-[.';/&*@{}^:$!>(<)+"_
      )!@#$%^&*(ABCDEFGHIJKLMNOPQRSTUVWXYZ

      JRobotTest will fail when run using JDK 1.3.1_02 or JDK 1.4 (build 89)
      on a Windows 2000 system. The event for VK_ENTER will fail to trigger
      a carriage return in the text area.


      ###@###.### 2001-12-18

            bchristi Brent Christian
            ajacobssunw Allan Jacobs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: