Forums Register Login

Search JTextArea in both up and down direction

+Pie Number of slices to send: Send
Dear All,
I have to search string in both up and down directions in JTextArea, also if search comes end of the area it have tell the end message.
Guide me on this issue.

Thanks in advance.
[ December 26, 2007: Message edited by: mani vannann ]
+Pie Number of slices to send: Send
 

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?
Don't MAKE me come back there with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 685 times.
Similar Threads
JTextarea and JScrollPane
Two quick questions
carriage ret & linefeed
NPE with JTextArea
Disable Caret in a Document
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:30:26.