Am 14.02.2013 um 20:15 schrieb Wolfgang Lenerz:

> Le 14/02/2013 19:57, Petri Pellinen a écrit :
>> Yeah Java is kind of ugly in that sense, unless one is willing to take the
>> hit of using JNA <http://en.wikipedia.org/wiki/Java_Native_Access> to get
>> access to 
>> KeyboardUtils<http://jna.java.net/javadoc/platform/com/sun/jna/platform/KeyboardUtils.html>which
>> supposedly gets the job done in a fairly portable way.
>> 
> 
> ** shudder **
> 

Öhm,

it's quite some time when I was working as a Java developer, but how about 


Toolkit.getDefaultToolkit().getLockingKeyState(KeyEvent.VK_CAPS_LOCK);

??

Tobias
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to