Possible Duplicate:
Highlighting Strings in JavaFX TextArea
how to highlight the text in the textarea? For example in ms-word if we write the text in the find option the same text will highlight in the text area in the same way i wanted to do that in javafx can any one help me?