View Single Post
  #2 (permalink)  
Old 07-26-2007, 10:38 PM
levent levent is offline
Senior Member
 
Join Date: Dec 2006
Posts: 748
levent is on a distinguished road
You need to clear them one by one.. Just call setText("") method for each of the textfields you have from the click event handling code of your JButton. There is no other way for this.
Reply With Quote