Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Messages with links in applet

Status
Not open for further replies.

camillaj

Programmer
Sep 18, 2003
31
0
0
AU
I have an applet that scrolls different messges vertically, but in addition I would like these different messages to link to different pages.

Is there a way to make each message as a link in an applet?
I know there is events like a mouseEnter and mouseDown,

Can someone maybe givebe a hint here? Thanks for any help :)
 
Have a look at "JEditorPane". It can display HTML text. [ To follow a link to a different page, you have to catch HyperLinkEvents ...] I haven't used it myself.

Just search google for "JEditorPane" and you'll find lots of references.

eg :
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top