Re: Change window top icon

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

Parent Message unknown Re: Change window top icon

by javahelp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've been struggling with this, but have found some more information.  I am using JavaHelp 2.0.05.  I found that with the version 2 release, modifying the icon is no longer supported:  "[i]Icon in Title Bar is [b]not customizable[/b] in JavaHelp 2.0[/i]" -- http://www.writersua.com/articles/javahelp/index.html

Is this true, or is there just a way that is not documented?

In addition, when I attempt to modify the icon used for a view by using the <image> tag, it does not work.  It actually causes a problem where that view is no longer visible at all unless I remove the <image> tag.

Doug.
[Message sent by forum member 'dougthompson' (dougthompson)]

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

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

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: Change window top icon

by javahelp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Doug, we have been using the presentation tag like the others on this thread for a couple of years now and change the top icon using it...

<presentation default="true" displayviewimages="false">
<name>mainwindow</name>
<size width="645" height="395" />
<title>Help</title>
<image>logo</image>
<toolbar>
    <helpaction image="arrowback">javax.help.BackAction</helpaction>
    <helpaction image="arrowforward">javax.help.ForwardAction</helpaction>
    <helpaction>javax.help.SeparatorAction</helpaction>
    <helpaction image="print">javax.help.PrintAction</helpaction>            
</toolbar>
</presentation>

Everything works fine for us.

Be sure the 'logo' image is defined properly in your map file, something like...
<mapID target="logo" url="../images/logo.gif" />
[Message sent by forum member 'dacagl' (dacagl)]

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

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

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.