I have a text area and a button on a frame and there's some text in the text area. What i need is when the user clicks the button whatever the text selected by the user in the text area and not all the text in the text area is bolded.
I am only using awt components and not any swing components.
Can someone show me or e-mail me a sample program or sample codings or part of the sample program on how this can be done.
hi everyone,
I checked the JTextArea api and could not find the setSelectedText method that you mentioned. Am i missing something.
Maybe you can tell me where you found this api
Oops !! that method was written by myself when I was making a word pad about two months ago... I searched for it but didnt find it ... I'll post it whenever I find it.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.