Reset or Clear button

I am currently working on an applet and need to include a clear or reset button and have researched with no solution found. I want to reset the name text field to be blank and ready to receive a new name.

Thank you so much Paul and Naishadh for your help; I actually played around with the code before posting for help and almost got to that same code, but this worked perfect, thank you I appreciate it!!

David Coello
Greenhorn

Joined: Jun 05, 2012
Posts: 22

posted Aug 02, 2012 00:01:33

0

Hi, well I thought of another quick question. When I run the applet on Eclipse, the labels are all over the applet.

1.- Is there a way to organize the applet contents, like in columns or rows.
2. Is there a way to move the second part of the applet. (name, gender, age, etc.), I would like to move it down a little to make more room for the labels.