A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Swing / AWT / SWT
hyperlinks without URL
Joined: Jan 05, 2001
Jan 27, 2002 21:13:00
I need to have hyperlinks on JTextpanes
and they don't have any standard URL
I need a hyperlink facility as that is available
in the JAVAHelp API
Joined: Sep 18, 2001
Jan 28, 2002 07:13:00
The JavaHelp API uses url base hyperlinks, I believe. The only difference is that they point to the local file system instead of the internet.
Your best bet would be to construct a url using getClass().getResource("your_file.html").
It is sorta covered in the
JavaRanch Style Guide
subject: hyperlinks without URL
Extracting hyperlinks in a HTML page
How to make an image to appear and fade gradually when a web page is opened?
online help document problem
Browser is out of hyperlinks
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014