JTextArea search/replace
I'm developping a little TextEditor. I have to implement function to enable search & search & replace functions.I only need some advices on how to implement these two functions. thanks for your adviceKind regards,M.Carpentier
just read out the content of the textarea, put it in a string, search in this string, maybe replace and then put the modified string into the textarea
Should I put all search methods into a specific class ? I mean, in my app, I would create a new instance of my SearchReplace class. I'm new to java and want to make it as clean as possible and use the 'power' of OOP.Thanks.