Hi ,
  use JEditorPane and this guy gives an option to fire hyperLinkListener  on a
mouse click(refer java docs for more details)
 Ravi

Varalakshmi Allamaraju wrote:

> There are two ways. One is to use javax.swing.text.html.parser. Other is
> to use string tokenizer.
>
> Kader Ben wrote:
> >
> > Hi java gurus,
> >    I have slightly off topic question. I have
> > application  that read http text and scrolls it. I
> > wand add MouseListener interface that capture string
> > clicked and pass it to getURL function (in fact I want
> > simulate href/browser function) . I used getSource
> > function but this seems is not enough to capture
> > string clicked. Could someone out there give me some
> > instructions to fix that?
> >
> > Thank you for your help,
> >
> > Ben
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Photos -- now, 100 FREE prints!
> > http://photos.yahoo.com
> >
> > ___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to