Originally posted by mani vannann: Dear All, I have to perfrom search in both up and down direction in JTextArea, also if search comes end of the area it have tell the end message. Guide me on this issue.
Thanks in advance.
Care to elaborate a bit on what do you mean by search? Are you aware of the contains() method in the String class?