Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #3054

Re: Events

From "Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Subject Re: Events
Message-ID <c0cfp311remep9bg5snid16deg8gon70m7@4ax.com> (permalink)
Newsgroups comp.lang.java.gui
References <9bc8a93a-d0d5-47f3-b642-82e997fc158a@i7g2000prf.googlegroups.com>
Date 2011-04-27 15:42 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
On Wed, 23 Jan 2008 10:08:53 -0800 (PST), Akki
<lodhaakhil85@gmail.com> 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

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Events "Akki" <akki@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
  Re: Events "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
    Re: Events "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
      Re: Events "Akki" <akki@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000

csiph-web