File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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:
subject: state of CapsLock key
It's not a secret anymore!