Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help Dialog question

 
Bodenstab Oliver
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

i display a help dialog with the following code

The userguide.html is displayes in the dialog.
But the problem is, i have references in the html file like

and if i click on them the cursor doesn't go the reference
Doesn't support java this functionality???

Please help.

Oliver
 
Bodenstab Oliver
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

i solved this problem by using an addHyperlinkListener.

But, the next problem with Help Dialog appears

If the code was startet from a method of a class which extends JDialog and not JFrame, the dialog only reacts on key strokes and not on the mouse

Can anybody tell me how i can solve this problem???
 
Bodenstab Oliver
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This statement solve the problem




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic