Key board event
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sendil_coumar
Posted On:   Monday, March 26, 2001 01:01 AM

I want to control(Switch on/off)the VK_NUM_LOCK key through my application instead of manually pressing the num lock key in the keyboard.This is a part of my application.All these time I was trying to do this by getKeyCode() and setKeyCode() methods of KeyEvent.And I was not successful. It is a very urgent requirement if any body can help me on
on this it would be a great help.

Thanks and regards,
N.Sendil coumar

Re: Key board event

Posted By:   Guruprasad_LR  
Posted On:   Friday, March 30, 2001 01:39 AM

Use an action listener in your application and manually trigger the numLock pressed key event as and when you need it.

For more info refer to JDK API, AWT-Key Event class.
About | Sitemap | Contact