How to reset text field

Assume in my program have 3 text field. using reset button how can i reset these text field. when some one reset these at that time he may fill only one text field or two . How ever i need to reset them all.

For exit from program i program EXIT_ON_CLOSE() method , but it did not work propely .

can some one help. Thanks.

[340 byte] By [jolaa] at [2007-10-3 3:18:54]
# 1
I dont really get you but if you want to reset a textfield, can磘 you just usefield.setText(""); on them all?
sandsatera at 2007-7-14 21:10:45 > top of Java-index,Java Essentials,Java Programming...
# 2

you need to include the text field which you need to reset and the reset button in the form tags

eg:

<form>

<input type="text" name="user"/>

<input type="password" name="pass"/>

<input type="reset" value="Reset">

<form/>

so you type anything in the textfield and u click reset button then it will be reset..

siberiaa at 2007-7-14 21:10:45 > top of Java-index,Java Essentials,Java Programming...
# 3

> you need to include the text field which you need to

> reset and the reset button in the form tags

> eg:

> <form>

> <input type="text" name="user"/>

> <input type="password" name="pass"/>

> <input type="reset" value="Reset">

> <form/>

>

> so you type anything in the textfield and u click

> reset button then it will be reset..

welcome to the java forum! Enjoy your stay!

Nemesish3da at 2007-7-14 21:10:45 > top of Java-index,Java Essentials,Java Programming...