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


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

Events

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

Show all headers | View raw


  To: comp.lang.java.gui
Hi,

I am a new to GUI programming in Java. I want to creat a GUI in which
I will ask the user to write a word in the Text field, based on which
the s/w will call certain functions. I have created JFrame inside
which I have made a JDesktopPane, inside which I have the JScrollPane
with the JTextArea.
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.

How do I solve this issue ?

TIA,
Darth

---
 * 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 | NextNext 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