java.lang.IllegalArgumentException: invalid key for Toolkit.getLockingKeyState

Coderanch | Kemal Sokolovic | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Implementing KeyListener interface

    Coderanch | 6 years ago | Kemal Sokolovic
    java.lang.IllegalArgumentException: invalid key for Toolkit.getLockingKeyState
  2. 0

    Bug with JDK1.4?

    Oracle Community | 1 decade ago | 807553
    java.lang.IllegalArgumentException: invalid key for Toolkit.getLockingKeyState

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      invalid key for Toolkit.getLockingKeyState

      at sun.awt.windows.WToolkit.getLockingKeyState()
    2. Java RT
      WToolkit.getLockingKeyState
      1. sun.awt.windows.WToolkit.getLockingKeyState(WToolkit.java:630)
      1 frame
    3. view
      TextEditorView.initialize
      1. view.TextEditorView.refreshStatusBarOverwriteIndicator(TextEditorView.java:951)
      2. view.TextEditorView.initialize(TextEditorView.java:82)
      2 frames
    4. texteditor
      Main$1.run
      1. texteditor.Main$1.run(Main.java:44)
      1 frame
    5. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      2. java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
      3. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      4. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      5. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      6. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      7. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      8. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      8 frames