This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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!