LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-21-2004, 10:28 AM   #1
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
Java: check if a Casplock is enabled


How do you check if casplock is enabled? Do you need to write a KeyEventListener or something like that, or is it possible to just check it in some way?

I'd like to switch 2 modes with it that I check when a mousebutton is released.

tnx,
elluva
 
Old 04-21-2004, 02:09 PM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Have a look at the java api -> Toolkit Class -> getLockingKeyState
 
Old 04-26-2004, 02:10 AM   #3
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Original Poster
Rep: Reputation: 30
tnx
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I check if DMA is enabled? LegendBreath Fedora 7 06-06-2005 05:22 AM
Dont know how to check for enabled ports diego_ar Linux - Networking 1 12-22-2004 06:21 AM
How to Check for enabled ports diego_ar Linux - Networking 1 12-21-2004 07:07 AM
installed gcc with java language enabled.. but no gcj ! qwijibow Linux - Software 3 10-15-2004 03:24 PM
How I enabled Java plugin for Mozilla-firefox in Slack 10 rsamurti Slackware - Installation 1 08-07-2004 02:30 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration