Skip to main content

[JAVAHELP] UserGuide.jar

2 replies [Last post]
Anonymous

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Alex Tang

I guess the icons (images) are not part of JavaHelp (after peeking into
the TOC.xml). Several questions

1) What's the most effective way to insert the image tag (using Help
authoring tool?)?
2) Does the image path (image tag) relative to the hs file?
3) How do you set the default Look&Feel of the Help Viewer? I'm using
HelpBroker to launch JavaHelp.

Thanks in advance,
Alex

-----Original Message-----
From: Discussion list of JavaHelp
[mailto:JAVAHELP-INTEREST@JAVA.SUN.COM] On Behalf Of Alex Tang
Sent: Tuesday, November 04, 2003 10:23 AM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] UserGuide.jar

I noticed that UserGuide.jar treeview in 2.0 has a different set of
icons (book and pages). How do you set this?

Thanks,
Alex
************************************************************************
********

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.

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

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.
[att1.html]

Roger Brinkley

Alex Tang wrote:
> I guess the icons (images) are not part of JavaHelp (after peeking into
> the TOC.xml). Several questions
>
> 1) What's the most effective way to insert the image tag (using Help
> authoring tool?)?

Use a HAT that supports this feature.

> 2) Does the image path (image tag) relative to the hs file?

Image is a Map.ID not a a path. It maps to an entry in the map file and
yes that is releative to the hs file.

> 3) How do you set the default Look&Feel of the Help Viewer? I'm using
> HelpBroker to launch JavaHelp.

It's how you set the Look and Feel for your application not just the
help. From the command line:

java -Dswing.defaultlaf=com.sun.java.swing.plaf.motif.MotifLookAndFeel

Within the application:

UIManager.setLookAndFeel(LookAndFeel)

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.