Re: Events
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 23 Jan 2008 21:23:09 GMT
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
.
- Follow-Ups:
- Re: Events
- From: Roedy Green
- Re: Events
- References:
- Events
- From: Akki
- Events
- Prev by Date: Events
- Next by Date: Re: Events
- Previous by thread: Events
- Next by thread: Re: Events
- Index(es):
Relevant Pages
|