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 Murach's Java Servlets and JSP this week in the Servlets 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.

jQuery in Action, 2nd edition
subject: state of CapsLock key
Similar Threads
Mistakes in HFSJ
deploytool fails on startup (mac os x)
How to get new file types recognized for drag&drop?
Securing from being stopped
Where's the backslash?