|
-
April 6th, 2012, 01:58 PM
#1
find string in Jtext area
i want to search a string in my JTextArea,but i m not able to find ne solution,what shud i write after dis code to search a string...pls help me solve dis out..
JTextArea logTextArea;
StringBuffer buffer=new StringBuffer(); /*it contains some random content appended in previous part of program... */
logTextArea.insert(buffer.toString(), logTextArea.getText().length());
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|