| Author |
AWT Event
|
Ogwal Boniface
Greenhorn
Joined: Oct 20, 2009
Posts: 7
|
|
Dear Colleagues,
Consider the code below:
I like this to return (after click OK button) whatever someone enters in the textfield into a new label:
Example: Enter Text: ****** [OK]
You Entered: ******
Thanks for your help.
|
~~Great minds read, ask and then share~~
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19214
|
|
Check out ActionListener. You may want to consider switching from AWT to Swing though; Swing is more powerful and looks better on most systems.
Moving to AWT / Swing.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
 |
|
|
subject: AWT Event
|
|
|