To run the code you will need the JavaFX runtime on the classpath, so my code to use it looks like this
java -cp jpedal.jar: /Library/Java/JavaVirtualMachines/ jdk1.7.0_45.jdk/Contents/ Home/jre/lib/jfxrt.jar org/jpedal/examples/baseviewer/BaseViewer
We have a new Example included (BaseViewerFX) which provides a simple JavaFX client for Java development. It still lacks some of the functionality of our Swing version (Shading, Patterns and Forms are not currently implemented). As a first release it doubtless has some bugs and things we have not anticipated but we are really pleased with the way it is developing and wanted to make it more generally available…
We will be adding more features in 2014 (and also a fully featured version of our Swing Viewer (surprisingly called ViewerFX). The idea is to make it as close as possible to the current Viewer so clients can easily upgrade.
In the meantime, we hope you enjoy playing with our new JavaFX PDF viewer. In 2014 we will also be running a whole series of articles on JavaFX and have some interesting plans for a NetBeans plugin, as well as lots of interesting developments on PDF to HTML5 and SVG conversion. 2014 is going to be a very busy year….
Latest posts by Mark Stephens (see all)
- Mixing the PDF file format and Java at JavaOne (San Francisco) - July 30, 2014
- My 5 key takeaways from the Roadside MBA - July 22, 2014
- Understanding the PDF File Format: Your 5 minute guide to Indexed ColorSpaces - July 1, 2014
- 2 cool features in XFA forms (and how we can utilise in HTML5 conversion) - June 20, 2014
- 5 key takeaways from the PDF Association conference - June 17, 2014