Home Help Java K Java KeyAdapter



Java KeyAdapter
Posted on: June 15, 2009 at 12:00 AM
This is an abstract adapter class used to receive keyboard events.

Java KeyAdapter

     

This is an abstract adapter class used to receive keyboard events. This is the class is used to receive the keyboard events. It creates the keyListener objects using the addKeyListener() method. The generated event is passed to every KeyListener objects that receives such types of events using the addKeyListener() method of the object. The methods in this class are empty. 

The KeyPressed() method is used to receive the generated event when you press any key to the object. This method also sets the text of the source of the event to the label.

To know more about this, just click

http:/www.roseindia.net/java/example/java/awt/KeyPress.shtml

Related Tags for Java KeyAdapter:
ceventsclasskeyboardeventsedkeythistoeusecereceiveasntclboardskisivarssrdthboao


More Tutorials from this section

Ask Questions?    Discuss: Java KeyAdapter  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.