Search « JTextArea « Java Swing Q&A





1. change background color of the word which is found using a function.    stackoverflow.com

i have a simple swing gui where there are two text fields one for search and another for replace just similar to any other Find and Replace utility.There is a textarea,where ...

2. Search Function for a TextArea.    coderanch.com

Hi, i hope some one will help me out here. i have a piece of code which basically searches whatever the user wants to search for. I have a TextArea which displays the o/p and a text field where users inputs whatever he wants to search for within that text area. But right now i am able to search only for ...

4. Highlight the search field in a text area -----HELP required URGENT    coderanch.com

I am searching for a field in the text area on the clicking of a button and wants to highlight it .When i am searching for the field i am only able to highlight the first existence of the field but i want to highlight all the existence of that field in text area at one go . Please help