RE: [JAVAHELP] HelpBroker.setCurrentURL() question about behavior under JavaHelp version 2

You are here:

RE: [JAVAHELP] HelpBroker.setCurrentURL() question about behavior under JavaHelp version 2

March 15, 2004 - 06:31

Anonymous

Binky,

Thanks, that does the trick.

Ted

> -----Original Message-----
> From: Discussion list of JavaHelp
[mailto:JAVAHELP-INTEREST@JAVA.SUN.COM]
> On Behalf Of Roger Brinkley
> Sent: Saturday, March 13, 2004 11:31 AM
> To: JAVAHELP-INTEREST@JAVA.SUN.COM
> Subject: Re: [JAVAHELP] HelpBroker.setCurrentURL() question about
behavior
> under JavaHelp version 2
>
> Ted Hill wrote:
>
> > Hello,
> >
> >
> > Our Java application displays a small panel with brief instructions
to
> > the user.
> >
> > This small panel displays text in html with hyperlinks.
> >
> > If the user wants to get more information, they can click on the
> > hyperlink. This opens the JavaHelp frame and displays context
sensitive
> > help information to the user.
> >
> > This used to work with JavaHelp version 1 jh.jar, but does not work
with
> > version 2 jh.jar. (See below for further info on jh.jar versions.)
> >
> > Below I also show the code that is used to activate JavaHelp from a
> > HyperLinkListener.
> > I also describe the previous behavior under JavaHelp version 1 and
the
> > new
> > behavior that we see with JavaHelp version 2.
> >
> > Any suggestions for how to modify our application's code so that we
can
> > still have our old behavior under JavaHelp ver 2 would be
appreciated.
> >
>
> Looks to me like you need a hb.setDisplayed(true); after you do the
> setCurrentURL.
>
> binky
>
>
************************************************************************
**
> ******
>
> You may leave the list at any time by sending message with no subject
and
> "SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM.
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.