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]

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..
> 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!