JavaFX has come a long way since it’s inception back in 2007. One of the main things that we took away with us from JavaOne2012 is that Oracle are investing heavily in JavaFX, to the point that it now has a powerful feature set and is a strong contender for our attention.
Knowing the future is bright, we decided it time to look further into how we can make use of JavaFX in our Java PDF Viewer. Our attention turned to our PageFlow mode currently written in Java3D. If you haven’t already, check out Sam’s excellent article on The Top 5 interesting things Java3D taught us.
Java3D does the job adequately – it’s stable, visually appealing, performance is excellent, and it does everything we need it to, but our main issue is support. Java3D is not widely used, and in order to use the mode, you need to head over to the Oracle website to download and install Java3D – it’s not ideal.
Since Java SE 7u6, JavaFX has been bundled with the Java SE platform,which means that support for JavaFX is good, and will only improve in the future. This makes it perfect for the PageFlow mode. Our only concern was if JavaFX could match the quality of a ground up built 3D technology like Java3D. I have created 2 videos below so you can see how we did!
If you wish to use the new JavaFX PageFlow mode, it is now in our monthly release. If you are new to JPedal, it’s a fully featured Java PDF Library which you can learn more about here.
Don’t forget to check back here soon, as I’ll have a more detailed comparison between Java3D vs JavaFX!
Latest posts by Leon Atherton (see all)
- Develop using IntelliJ IDEA? Check your productivity guide! - July 8, 2014
- Release Schedule Changes for PDF to HTML5/SVG - June 24, 2014
- Adding Google Analytics to Web Content - January 17, 2014
- Image Optimisation: What PNGQuant is and why you should use it - January 14, 2014