Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2007 20:58:25 +0200
From:      "Mina R Waheeb" <syncer@gmail.com>
To:        freebsd-java@FreeBSD.org
Subject:   getLockingKeyState
Message-ID:  <275890790704211158l5bf736e9n9969b187e9b8e9ec@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,
  I'm using jdk-1.5.0p3 port and some of keyboard events doesn't seems
to work. I have test it on another platform its works fine. The method
java.awt.Toolkit.getDefaultToolkit().getLockingKeyState(java.awt.event.KeyEvent.VK_CAPS_LOCK)
 should return status of  CAPS_LOCK,  But when i run the code on
FreeBSD with jdk-1.5.0p3 port the code broken and throws exception
and here is the exception  details :

Exception in thread "AWT-EventQueue-0"
java.lang.UnsupportedOperationException: Toolkit.getLockingKeyState
	at java.awt.Toolkit.getLockingKeyState(Toolkit.java:1303)

Did i miss something? or any idea how to fix that.

Thanks,
Mina



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?275890790704211158l5bf736e9n9969b187e9b8e9ec>