Skip to main content

Opening a PDF file in Help System

1 reply [Last post]
Anonymous

Hi all,

I am trying to open a pdf file by clicking on a hyperlink from a html page.It opens perfectly when i try to open it using web browser.
But the problem comes when the same pdf link i try to open using My Help Applcation Window. It opens the pdf in the same window with some garbage value instead of opening in Adobe acrobat reader itself.

Please suggest asap.

Regards
Vikas

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

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.
Roger Brinkley

Kapoor, Vikas IN GGN SISL wrote:
> Hi all,
>
> I am trying to open a pdf file by clicking on a hyperlink from a html
> page.It opens perfectly when i try to open it using web browser. But
> the problem comes when the same pdf link i try to open using My Help
> Applcation Window. It opens the pdf in the same window with some
> garbage value instead of opening in Adobe acrobat reader itself.

You'll need a PDF viewer that can be plugged into the JEditorPane list
of viewers. I'm not sure there is one but it wouldn't take much effort
to put an editor wrapper around an existing java PDF viewer.

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.