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)
- My 5 key takeaways from JavaOne 2017 - October 6, 2017
- My notes and pictures from thursday JavaOne 2017 - October 5, 2017
- My notes and pictures from Wednesday JavaOne 2017 - October 5, 2017
- My notes and pictures from Tuesday JavaOne 2017 - October 4, 2017
- My notes and pictures from Monday at JavaOne 2017 - October 3, 2017