Re: Events



On Wed, 23 Jan 2008 10:08:53 -0800 (PST), Akki
<lodhaakhil85@xxxxxxxxx> wrote, quoted or indirectly quoted someone
who said :

I have registered the KeyPressed Event with the JTextArea. But when I
write something and press Enter, the Event is not recognized and the
appropriate action is not taken.

A KeyPressed event is a low level event. It gets converted to various
other types of event. Check the JavaDoc for JTextArea to see what
sorts of listeners it likes.

See http://mindprod.com/jgloss/event.html
http://mindprod.com/jgloss/jtextarea.html
--
Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com
.



Relevant Pages