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)
- 3 Shows you should attend in 2015 – 3. NetBeans Days - September 1, 2015
- 3 Shows you should attend in 2015 – 2. DevFest (Istanbul) - August 25, 2015
- 3 Shows you should attend in 2015 – 1. JavaOne (San Francisco) - August 18, 2015
- NetCat for NetBeans IDE explained in less than 5 minutes - July 16, 2015
- New APIs to handle PDF files in JPedal 6 – Forms - June 23, 2015