[Advanced-java] i need your help in this pls
Cristian D. Romanescu
c.romanescu at finsiel.ro
Sun Oct 29 23:47:50 PST 2006
I looked over the javadocs (1.4.2) and the methods useful seems to be
setSelectionStart and setSelectionEnd.
Qamar alsheshany wrote:
> How do I programmatically highlight a specific region of text in a
> JTextField.
> For example if I had the following text in a JTextArea:
> "This is a JTextArea"
>
> and I want to programmatically highlight just the word "is", what
> function should i use and can you support me with an example.
>
> Thanks,
>
> Access over 1 million songs - Yahoo! Music Unlimited Try it today.
> <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Advanced-java mailing list
> Advanced-java at lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/advanced-java
>
More information about the Advanced-java
mailing list