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

[Windows] robot.keyPress(KeyEvent.VK_ALT_GRAPH) throws java.lang.IllegalArgumentException in windows

XMLWordPrintable

    • b120
    • windows

        robot.keyPress(KeyEvent.VK_ALT_GRAPH) throws java.lang.IllegalArgumentException in windows,
         
        Exception in thread "main" java.lang.IllegalArgumentException: Invalid key code
                        at sun.awt.windows.WRobotPeer.keyPress(java.desktop@9-internal/Native Method)
                        at java.awt.Robot.keyPress(java.desktop@9-internal/Robot.java:353)

              arapte Ambarish Rapte
              mhalder Manajit Halder (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: