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

java.awt.Toolkit setLockingKeyState

XMLWordPrintable

    • Cause Known
    • x86
    • linux

      FULL PRODUCT VERSION :
      1.5.0_06-b05

      ADDITIONAL OS VERSION INFORMATION :
      Mandriva Linux 2006: 2.6.12-15mdksmp

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Twinview Xorg configuration using nVidia GeForce 6600 GT video card.

      A DESCRIPTION OF THE PROBLEM :
      UnsupportedOperationException occurs on the following statement under Linux:
        Toolkit.getDefaultToolkit().setLockingKeyState(KeyEvent.VK_NUM_LOCK, true);

      Note: works under windows.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      can simply add the single line of code into a small main program and execute.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      enable the num lock
      ACTUAL -
      exception

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      exception

      REPRODUCIBILITY :
      This bug can be reproduced always.

            yan Yuri Nesterenko
            dav Andrei Dmitriev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: