Skip to main content

Re: [JAVAHELP] JavaHelp Image Icon

No replies
Anonymous

Perfect Stephan,

That is exactly what I needed to do. Thank you all for your sharing
your knowledge.

Richard

----- Original Message -----
From: Stephan Schlecht
Date: Wednesday, March 31, 2004 11:26 am
Subject: Re: [JAVAHELP] JavaHelp Image Icon

> Try to use the name of your default presentation, when creating your
> HelpBroker instance, e.g. in your case use the name "MainWindow":
>
> HelpBroker hb = helpSet.createHelpBroker("MainWindow");
>
> Then all attributes including the image icon attribute should be
> recognized.
>
> Hope this helps,
>
> Stephan
> --
> Software 7 GmbH
> *** Helen 1.5, the JavaHelp 2.0 Authoring Tool ***
> http://www.software7.biz
>
> At 11:16 31.03.2004 -1000, you wrote:
> >Paul and Roger,
> >
> >Thank you both. I new there was a way to do this. However, I am
> still>having a problem still displaying this "seac" icon on the
> mainwindow.>I have included a snippet of my .jhm and .hs files below:
> >
> >
> >
> > >displayviewimages="false">
> > MainWindow
> >
> >
> > Java Development Environment - Online Help
> > disclaimer.seac
> >
> > javax.help.BackAction
> > javax.help.ForwardAction
> > javax.help.SeparatorAction
> > javax.help.HomeAction
> > javax.help.ReloadAction
> > javax.help.SeparatorAction
> >
> >
> >
> > main
> >
> >
> > Java Development Environment - Online Help
> >
> >
> >Can you detec anything wrong? I have rebuild and recompiled my help
> >files within my app.
> >
> >Thank you,
> >Richard
> >
> >
> >----- Original Message -----
> >From: Roger Brinkley
> >Date: Wednesday, March 31, 2004 4:58 am
> >Subject: Re: [JAVAHELP] JavaHelp Image Icon
> >
> > > Paul Fussell wrote:
> > >
> > > > Richard,
> > > >
> > > > You set the title bar icon for your help viewer windows by
> > > defining a
> > > > presentation in your helpset file for each type of window, and,
> > > in each
> > > > presentation definition, defining the tag to
> reference a
> > > graphic> file by its map ID. For example, a helpset I'm
> working on
> > > uses an icon
> > > > named idelogo.gif. In the map file, this image has the following
> > > map ID
> > > > defined for it:
> > > >
> > > > url="images/idelogo.gif"/>> > >
> > > > To use this image in the main window, we define a presentation
> > > in the .hs
> > > > file. Note the tag setting in the following presentation
> > > > definition, which defines the image that appears in the help
> > > viewer's title
> > > > bar and, in Windows, on the taskbar:
> > > >
> > > > > > displayviewimages="false">> MainWindow
> > > >
> > > >
> > > > Sun Java Studio Creator Help
> > > > projrave_images_idelogo
> > > >
> > > > javax.help.BackAction
> > > > javax.help.ForwardAction
> > > > javax.help.ReloadAction
> > > > javax.help.HomeAction
> > > > javax.help.SeparatorAction
> > > > javax.help.PrintAction
> > > > javax.help.PrintSetupAction
> > > > javax.help.SeparatorAction
> > > > javax.help.FavoritesAction
> > > >
> > > >
> > >
> > > Yeah I forgot about this way. This is more preferable way of doing
> > > it as
> > > you can guarentee it will be set correctly for modals and
> nonmodals.
>
************************************************************************
********
>
> 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.
> Archivesare available at http:
> Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.
>

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

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.