Skip to main content

Open JavaHelp in an JInternalFrame. How to do it???

1 reply [Last post]
cpires
Offline
Joined: 2003-12-09

Hi buddies!!!
I am trying to develop an application that replaces my desktop. All windows are opened in JInternalFrames and I want to JavaHelp application to be opened in the same way.
Can anybody explain me how to doit?
Regards

Claudio

Reply viewing options

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

java-help@JAVADESKTOP.ORG wrote:
> Hi buddies!!! I am trying to develop an application that replaces my
> desktop. All windows are opened in JInternalFrames and I want to
> JavaHelp application to be opened in the same way. Can anybody
> explain me how to doit?

There are a couple of ways you could do this. One would be to create an
internal frame and then put a JHelp component in it. For an example of
this look in the idedemo for V2.0. It uses a JHelpContentViewer but the
concept is the same.

The other would be write your own HelpBroker that instead of using a
JFrame uses a JInternalFrame. This is bit tricker since the current
DefaultHelpBroker uses the MainWindow class which relies on a JFrame.
You might have to write your own WindowPresentation class for this as well.

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.