The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

some clue..

Posted by Spidy on January 18, 2001 at 4:22 AM

> How do I create a hyperlink in Java? Like the in html.
> For ex. the text "click here" should be displayed with underlined and when the user clicks on the text,control is transferred to the specific location.


I dont know perfectly which class helps u in doing that but in SWING we are having HTMLpane .. using that we can do that ... so just go thru the documentation and try it u will surely get it..

Spidy



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us