View Single Post
  #3 (permalink)  
Old 05-05-2008, 10:08 AM
Eku Eku is online now
Senior Member
 
Join Date: May 2008
Location: Makati, Philippines
Posts: 174
Eku is on a distinguished road
You can use
if(count==1)
{
JOptionPane.showMessageDialog(null,"\""+in1+"\" was found.");
YourTextArea.setText(null);
//if found, delete from JTextArea
}
Make sure to back up first.

Last edited by Eku : 05-05-2008 at 10:10 AM.
Reply With Quote