Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

how to add a hyperlink in a textpane

  Asked By: Ted    Date: Apr 08    Category: Java    Views: 726

i m making a editor which is very much
similar to ms word.

i m using textpane for that.
now my problem is that when i type any hyperlink on
that pane , i want to recoginise it and wanna change
it color,wanna change cursor type to handcursor and
wanna handle it.

so please help me in this.

i hope u would have understand me question.



1 Answer Found

Answer #1    Answered By: Aaliyah Khan     Answered On: Apr 08

Just look at the JAVA_HOME\demo\jfc\Metalworks\src\MetalworksHelp.java...

Didn't find what you were looking for? Find more on how to add a hyperlink in a textpane Or get search suggestion and latest updates.