0

What is the command(s) to search for a keyword (or any word that interests us) in the JTextArea - NetBeans?

I've been searching within the stackoverflow but with no result so far, possibly I've missed it. I am new to this environment, a detailed explanations would be beneficial.

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
Armani
  • 151
  • 1
  • 2
  • 6
  • 1
    'Netbeans' is not relevant to this, since you might do it exactly the same way in Eclipse, or a text editor. – Andrew Thompson Aug 14 '12 at 23:45
  • Please refer to this question [Searching for words in textarea](http://stackoverflow.com/questions/5909419/searching-for-words-in-textarea). Hope this what you need. – Xmagic Aug 15 '12 at 07:48
  • thank you for your assistance, i decided to save the text from the jTextArea into the file and work with the file independently. Thats somehow better when creating the lexical analyzer. – Armani Aug 15 '12 at 14:33
  • Duplicate question with a better answer here http://stackoverflow.com/a/13438455/1000011 – opticyclic Apr 04 '14 at 19:58

1 Answers1

3
  1. have look at How to Use Text Areas

  2. in the bottom of tutorial is described one of, but very simple way

mKorbel
  • 109,525
  • 20
  • 134
  • 319