Skip to main content

[JAVAHELP] Embed a Component to JHelpContentViewer?

4 replies [Last post]
Anonymous

Hi all,

Can we embed a component to JHelpContentViewer? I found this Java Web
Browser that supports HTML 4.01 and CSS and would like to embed it to
JavaHelp as the content viewer.

Thanks in advance.

Regards,
Prudence

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

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.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Wayne A Christian

Well,
Is your application a web application??? Sounds like you should be
using the version 2.0 JavaHelp Servlet.

(Whatever happened to that java browser Hot spot, or Hot point????,
could that be used???)

Wayne Christian
Sr. Staff Software Engineer
Genesys Telecommunications Labs
2100 Gateway Centre Blvd. Suite 300
Morrisville, NC 27560
Office: (919) 466-6151
Fax: (919) 466-6157
EMail: mailto:wac@genesyslab.com

-----Original Message-----
From: Discussion list of JavaHelp
[mailto:JAVAHELP-INTEREST@JAVA.SUN.COM] On Behalf Of Roger Brinkley
Sent: Friday, October 24, 2003 5:01 PM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Embed a Component to JHelpContentViewer?

Prudence Au wrote:
> Hi all,
>
> I don't know HTMLEditorKit much. However, I really would like to
replace
> JHelpContentViewer with for example Mozilla or IE or even WebRenderer.
> Because our html pages use HTML 4.0, CSS etc. Can anyone please point
me to
> the right direction? It would be great if you have some examples.
>

You're not going to replace the JHelpContentViwer with Mozilla or IE
because they aren't java based. If WebRenderer is Java based you can do
that.

We are looking into using the default browser as a viewer using a java
component that call the native browser that will be sometime in the
future (6-9) months.

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.

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

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.

Roger Brinkley

Prudence Au wrote:
> Hi all,
>
> Can we embed a component to JHelpContentViewer? I found this Java Web
> Browser that supports HTML 4.01 and CSS and would like to embed it to
> JavaHelp as the content viewer.

Yes, it is possible to replace the browser. In V2.0 the browser can be
defined in the implementation section of a HelpSet. This makes it easier
to define it. Basically you have to write a wrapper around the browser
component of your choice.

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.

Prudence Au

Hi Binky,

So, do I define it in the viewerregistry? And can you please explain more
about this wrapper that I have to write for this browser component? I am
trying use WebRenderer as the content viewer.

Thanks again.

Prudence

-----Original Message-----
From: Discussion list of JavaHelp
[mailto:JAVAHELP-INTEREST@JAVA.SUN.COM]On Behalf Of Roger Brinkley
Sent: Thursday, October 23, 2003 1:41 PM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Embed a Component to JHelpContentViewer?

Prudence Au wrote:
> Hi all,
>
> Can we embed a component to JHelpContentViewer? I found this Java Web
> Browser that supports HTML 4.01 and CSS and would like to embed it to
> JavaHelp as the content viewer.

Yes, it is possible to replace the browser. In V2.0 the browser can be
defined in the implementation section of a HelpSet. This makes it easier
to define it. Basically you have to write a wrapper around the browser
component of your choice.

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.

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

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.

Roger Brinkley

Prudence Au wrote:
> Hi Binky,
>
> So, do I define it in the viewerregistry? And can you please explain more
> about this wrapper that I have to write for this browser component? I am
> trying use WebRenderer as the content viewer.



viewerclass="com.sun.java.help.impl.CustomKit />
viewerclass="com.sun.java.help.impl.CustomXMLKit />

Then you need to create a viewer class that is based on a JEditorKit
like com.sun.java.help.impl.CustomKit is. This would be the wrapper class.

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.