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

Need a way to get java.awt.event.KeyEvent.VK_XX value from javafx.input.KeyCode

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:

      Description

      javafx.input.KeyCode is an enum now, but it doesn't have a getCode method. This method is required for developing automated tests - we use java.awt.Robot for automation and it accepts java.awt.event.KeyEvent.VK_XX values. We need to convert javafx.input.KeyCode to java.awt.event.KeyEvent.VK_XX values

        Attachments

          Activity

            People

            Assignee:
            miflemi Mick Fleming (Inactive)
            Reporter:
            gramachasunw Girish Ramachandran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: