JDK-6446665 : java.awt.Toolkit setLockingKeyState
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 5.0
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: linux
  • CPU: x86
  • Submitted: 2006-07-06
  • Updated: 2014-02-13
Related Reports
Relates :  
Relates :  
Relates :  
Description
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.

Comments
EVALUATION not yet implemented functionality.
07-07-2006