在Java Swing应用程序中创建在线帮助 - 使用pdf用户文档 [英] Creating online help in Java Swing application - using pdf user docs

查看:96
本文介绍了在Java Swing应用程序中创建在线帮助 - 使用pdf用户文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将一些用户文档链接到我的Java Swing应用程序。用户文档是pdf,我希望能够点击我的应用程序中的按钮,打开某种pdf渲染器来显示我的userdoc.pdf。

I am trying to link some user docs to my Java Swing application. The user docs are pdf and I would like to be able to click on a button in my application which opens up some sort of pdf renderer to display my userdoc.pdf.

我不想使用runtime exec命令

I do not want to use the runtime exec command

我尝试了以下但没有太大成功 -

I have tried the following with not much success --

pdfRenderer - 这似乎不适用于当前版本的pdfs(似乎想要更旧的pdfs)

pdfRenderer -- this seems to not work for the current version of pdfs (seems to want older pdfs)

acrobat viewer - 我一直收到字体错误(文件是显示,但每次我去一个新的页面,我收到一个错误)

acrobat viewer -- I keep getting font errors (the document is displayed but everytime I go to a new page, I get an error)

JPedal pdfHelp - 这听起来很酷,如果能够工作,那对我来说是最好的。但由于某种原因,我无法在此处打开任何文件。我没有在窗口中加载的pdf文件(pdfHelp面板按照承诺提供了pdf列表,但是当我右键单击其中一个并说OpenPDF时,我只是得到一个进度条并且文件没有加载,我已经尝试了几个文件和检查文件权限)

JPedal pdfHelp - This sounds cool and if it will work, it would be the best for me. But for some reason, I am unable to open any file here. No pdf file that I have loads in the window (The pdfHelp panel comes up with a list of pdfs as promised, but when I right click one of them and say "OpenPDF", I just get a progress bar and the file does not load, I have tried a few files on this and checked file permissions)

JPedal SimpleViewer - 到目前为止,这个似乎是最有希望的。我想删除此查看器的一些功能,但我无法编辑xml来执行此操作。当我编辑xml时,我似乎得到了xml解析错误。

JPedal SimpleViewer -- So far this one seems to be the most promising. I would like to remove some of the functionality of this viewer though and am not able to edit the xml to do this. When I edit the xml, then I seem to get xml parsing errors.

有没有人做过类似的工作?请帮助

Has anybody done anything similar that worked? Help please

PS。我需要这个在Linux机器上工作(IcePDF似乎只适用于Windows)。我非常喜欢免费的东西!

PS. I need this to work on Linux machines (IcePDF seems to works only for Windows). I would very much prefer something that is free!

推荐答案

更新:pdfHelp来自IDR解决方案(JPedal的创建者)现在可以使用了。最新版本(4.0)修复了错误并且它读取了我的pdf文件(我相信更多最新的pdf文件)。今天就玩这个产品吧,太棒了!有一些小错误,但我真的很感激Mark Stephens(?)对第一个错误的反应。好工作的家伙!

Update: pdfHelp from IDR solutions (creators of JPedal) works now. The latest version (4.0) has fixed the bug and it reads my pdf files (and I am sure more of the latest pdf files). Just playing around with the product today and it is great! There are few minor bugs but I really appreciate how quickly Mark Stephens(?) responded to the first bug. Good work guys!

这篇关于在Java Swing应用程序中创建在线帮助 - 使用pdf用户文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆