Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Search JTextArea in both up and down direction  RSS feed

 
mani vannann
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!