Skip to main content

[JAVAHELP] Change window top icon

1 reply [Last post]
Anonymous

Reply viewing options

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

RE: [JAVAHELP] Change window top iconAhhh thank you! I will definitly try
this right away...

Per
-----Original Message-----
From: Taylor, Jo [mailto:jo_taylor@xelus.com]
Sent: fredag november 7, 2003 15:29
To: 'per.lundkvist@comsol.se'
Subject: RE: [JAVAHELP] Change window top icon

You need to specify your presentation by name when creating the HelpBroker
even if it is the default. This is a bug.

MainWindow ourlogo

HelpBroker hb = helpSet.createHelpBroker("MainWindow");

/Jo

-----Original Message-----
From: Per Lundkvist [mailto:per.lundkvist@COMSOL.SE]
Sent: Friday, November 07, 2003 7:35 AM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Change window top icon

Ok, I have now tested my JavaHelp documentation in our application with
our
developers but still this does not work:

1.) Icon at top-left corner of the window does not show and I'm positive I
have the correct mapID etc. It is identical to all other mapIDs I have and
I
call it in my HelpSet with my_icon in the

-tag. 2.) The size and location is still not affected of what it says in my -tag as: 3.) My toolbar images for my buttons is not correct either within my -tag as: javax.help.HomeAction javax.help.BackAction javax.help.ForwardAction javax.help.PrintSetupAction javax.help.PrintAction javax.help.FavoritesAction javax.help.ReloadAction (But it do work when I start it locally at my PC from the command-prompt?!) The code in our application that opens my documentation is shown below: =================> HelpSet helpSet = null; try { URL helpSetURL = HelpSet.findHelpSet(null, "femlab.hs"); helpSet = new HelpSet(null, helpSetURL); } catch (Exception ee) { MessageDlg.show("Could_not_find_the_documentation."); return; } HelpBroker hb = helpSet.createHelpBroker(); CSH.DisplayHelpFromSource csh = new CSH.DisplayHelpFromSource(hb); csh.actionPerformed(e); =================> Per L. -----Original Message----- From: Chris.Morris@saaconsultants.com [mailto:Chris.Morris@saaconsultants.com] Sent: fredag november 7, 2003 10:35 To: per.lundkvist@comsol.se Subject: Re: [JAVAHELP] Change window top icon This is done using the tag in the view: main_window REIMS iSeries reims_icon javax.help.BackAction javax.help.ForwardAction javax.help.SeparatorAction javax.help.HomeAction javax.help.ReloadAction javax.help.SeparatorAction javax.help.PrintAction javax.help.PrintSetupAction javax.help.SeparatorAction javax.help.FavoritesAction

Unfortunatley this is not supported by the hsviewer, nor is it documented
in the jhug!
But, it does work.

====================================================
Chris Morris
Technical Author
SAA Consultants Ltd
http://www.saaconsultants.com
http://www.reims.net
====================================================

Per Lundkvist

JAVAHELP-INTEREST@JAVA.SUN.COM
se> cc:
Sent by: Discussion Subject: [JAVAHELP]
Change window top icon
list of JavaHelp
A.SUN.COM>

07/11/2003 08:17
Please respond to
per.lundkvist

How can I change the HelpSet window's top left icon?
Now it is always the Java Cup icon.

Thank you!
Per L.

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

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.

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

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]