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)
- Announcing JDeli – a new Image library for Java - April 21, 2015
- Report on NetBeans Day Greece 2015 - April 18, 2015
- My First Visit to London Book Fair - April 14, 2015
- Sneak preview of upcoming enhancements to our PDF to HTML5/SVG converter - April 13, 2015
- 3 Reasons to attend NetBeans Day in Athens (17-18 April 2015) - March 24, 2015