Re: Using the jdic browser when clicking a URL link

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Using the jdic browser when clicking a URL link

by javahelp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> To help others with the same problem:
> Found a solution in an old thread. Works fine by
> overwriting one class and configuration:
> http://forum.java.sun.com/thread.jspa?threadID=728061&
> tstart=150.

I'm trying to get external links to load in the Browser via JDIC. I tried the solution linked to here, and it doesn't work for me. I'm posting here since the linked post is even older than this one; and no one seems to post on the Sun JavaHelp forums anymore.

First of all I couldn't get the code supplied to compile, since there is no explicit constructor provided. I added the following, since I didn't know what else to do with the argument passed in to the constructor.

public ExternalLinkContentViewerUI(JHelpContentViewer x){
                super(x);
        }

Then the code compiles, but when I launch JavaHelp and click an external link, the hyperlink listener doesn't fire.

Anyone have any ideas?
[Message sent by forum member 'midnightjava' (midnightjava)]

http://forums.java.net/jive/thread.jspa?messageID=255982

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@.... Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Re: Using the jdic browser when clicking a URL link

by javahelp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I figured out how to make this work. See the link above for the code that worked for me.
[Message sent by forum member 'midnightjava' (midnightjava)]

http://forums.java.net/jive/thread.jspa?messageID=256483

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@.... Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Re: Using the jdic browser when clicking a URL link

by javahelp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I haven't been able to get this to work.  I'm using the javahelp within a module (using the Netbeans IDE), so not sure if that has something to do with it.  Any thoughts/help would be appreciated.
[Message sent by forum member 'dougnlizt' (dougnlizt)]

http://forums.java.net/jive/thread.jspa?messageID=289155

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@.... Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.
LightInTheBox - Buy quality products at wholesale price