Skip to main content

[JAVAHELP] customizing the default JavaHelp look and feel

3 replies [Last post]
Anonymous

Hi,

I am trying to integrate the JavaHelp into our application. What I will need
to do is to customize the default look and feel provided by JavaHelp 2.0 so
that it will fit into the entire look and feel in our application, which has
also been customized from the Swing's default look and feel. I believe that
the development of JavaHelp would have considerations about this so that the
users can have their own L&F on top of the JavaHelp engine.

Could anybody point me to a direction how can I do the customization?

I would appreciate if you could show me a code example of doing this.

Also, in the downloaded package of JavaHelp 2.0, there are only class files
in jar file. Where can I get the source file for the customizations?

Thanks a lot in advance!

-zyuan -

__________________________________________________________________________
Disclaimer: This e-mail message is intended only for the personal use of
the recipient(s) named above. If you are not an intended recipient, you
may not review, copy or distribute this message. If you have received this
communication in error, please notify us immediately by e-mail and delete
the original message.
This e-mail expresses views only of the sender, which are not to be
attributed to Rite Aid Corporation and may not be copied or distributed
without this statement.

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

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]

Reply viewing options

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

zyuan wrote:
> I am trying to integrate the JavaHelp into our application. What I
> will need to do is to customize the default look and feel provided by
> JavaHelp 2.0 so that it will fit into the entire look and feel in
> our application, which has also been customized from the Swing?s
> default look and feel. I believe that the development of JavaHelp
> would have considerations about this so that the users can have their
> own L&F on top of the JavaHelp engine.
>
>
>
> Could anybody point me to a direction how can I do the customization?
>

By default JavaHelp will pick up your swing customizations. Specifically
what are you trying to do. There may be an easier way to customize than
rewriting a plaf.

> I would appreciate if you could show me a code example of doing this.

Look at the sources in the distribution.

>
> Also, in the downloaded package of JavaHelp 2.0, there are only class
> files in jar file. Where can I get the source file for the
> customizations?

The sources are in src.jar but you can't modify them as that would
violate your license agreement just like it would violate the J2SE
agreeement.

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.

David Cagle

Check the top-level of your JavaHelp install directory for src.jar.

C:\JavaHelp\jh2.0>dir
Volume in drive C is WXP
Volume Serial Number is 28A0-CEC7

Directory of C:\JavaHelp\jh2.0

09/23/03 02:28 PM

.
09/23/03 02:28 PM ..
09/23/03 02:28 PM demos
09/23/03 02:28 PM doc
09/23/03 02:28 PM javahelp
09/09/03 05:52 AM 13,102 LICENSE.html
09/09/03 05:52 AM 7,260 README
09/09/03 05:52 AM 9,457 README.html
09/09/03 06:28 AM 333,875 src.jar

-----Original Message-----
From: zyuan [mailto:zyuan@RITEAID.COM]
Sent: Wednesday, September 24, 2003 3:14 PM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: [JAVAHELP] customizing the default JavaHelp look and feel

Hi,

I am trying to integrate the JavaHelp into our application. What I will need to do is to customize the default look and feel provided by JavaHelp 2.0 so that it will fit into the entire look and feel in our application, which has also been customized from the Swing's default look and feel. I believe that the development of JavaHelp would have considerations about this so that the users can have their own L&F on top of the JavaHelp engine.

Could anybody point me to a direction how can I do the customization?

I would appreciate if you could show me a code example of doing this.

Also, in the downloaded package of JavaHelp 2.0, there are only class files in jar file. Where can I get the source file for the customizations?

Thanks a lot in advance!

-zyuan -

__________________________________________________________________________
Disclaimer: This e-mail message is intended only for the personal use of
the recipient(s) named above. If you are not an intended recipient, you
may not review, copy or distribute this message. If you have received this
communication in error, please notify us immediately by e-mail and delete
the original message.
This e-mail expresses views only of the sender, which are not to be
attributed to Rite Aid Corporation and may not be copied or distributed
without this statement.

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

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]

zyuan

Hi,

Thanks for your reply. After the downloading, I am able to use the JavaHelp
package with the compiled classes. However, does anyone have an idea on how
the source code can be viewed in JBuilder? Do I have to unjar the src.jar
file in order to view the source code or I can just view the source code
from the src.jar file (as the way we can view the JDK source code in
JBuilder)? If so, what do I need to do in JBuilder, such as some
configurations and/or where should I put the src.jar file so that I can view
the source code?

Thanks.

- zyuan -

-----Original Message-----
From: Discussion list of JavaHelp [mailto:JAVAHELP-INTEREST@JAVA.SUN.COM] On
Behalf Of David Cagle
Sent: Wednesday, September 24, 2003 3:33 PM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] customizing the default JavaHelp look and feel

Check the top-level of your JavaHelp install directory for src.jar.

C:\JavaHelp\jh2.0>dir
Volume in drive C is WXP
Volume Serial Number is 28A0-CEC7

Directory of C:\JavaHelp\jh2.0

09/23/03 02:28 PM

.
09/23/03 02:28 PM ..
09/23/03 02:28 PM demos
09/23/03 02:28 PM doc
09/23/03 02:28 PM javahelp
09/09/03 05:52 AM 13,102 LICENSE.html
09/09/03 05:52 AM 7,260 README
09/09/03 05:52 AM 9,457 README.html
09/09/03 06:28 AM 333,875 src.jar

-----Original Message-----
From: zyuan [mailto:zyuan@RITEAID.COM]
Sent: Wednesday, September 24, 2003 3:14 PM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: [JAVAHELP] customizing the default JavaHelp look and feel

Hi,

I am trying to integrate the JavaHelp into our application. What I will need
to do is to customize the default look and feel provided by JavaHelp 2.0 so
that it will fit into the entire look and feel in our application, which has
also been customized from the Swing's default look and feel. I believe that
the development of JavaHelp would have considerations about this so that the
users can have their own L&F on top of the JavaHelp engine.

Could anybody point me to a direction how can I do the customization?

I would appreciate if you could show me a code example of doing this.

Also, in the downloaded package of JavaHelp 2.0, there are only class files
in jar file. Where can I get the source file for the customizations?

Thanks a lot in advance!

-zyuan -

__________________________________________________________________________
Disclaimer: This e-mail message is intended only for the personal use of
the recipient(s) named above. If you are not an intended recipient, you
may not review, copy or distribute this message. If you have received this
communication in error, please notify us immediately by e-mail and delete
the original message.
This e-mail expresses views only of the sender, which are not to be
attributed to Rite Aid Corporation and may not be copied or distributed
without this statement.

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

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]