jQuery in Action, 3rd edition
The moose likes Mac OS and the fly likes state of CapsLock key Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "state of CapsLock key" Watch "state of CapsLock key" New topic

state of CapsLock key

kalpana s

Joined: Dec 22, 2003
Posts: 8
hi all

i need to set the state of the CAPS-LOCK key in the status bar of my application at startup.
i am using jdk1.4.2 for development on mac os x.

the existing Toolkit.getDefaultToolkit().getLockingKeyState() does not work on mac.

so how do i find the state of the key... on application startup.

I agree. Here's the link: http://aspose.com/file-tools
subject: state of CapsLock key
It's not a secret anymore!