This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hyperlinks without URL

 
balu gates
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
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
bye
 
Michael Szul
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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").
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic