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)
- How to fill shapes on HTML5 Canvas using EvenOdd winding rule - September 4, 2013
- Measure content performance with Analytics – Why convert PDF magazines to HTML5? Part 7 - July 9, 2013
- Images in SVG: Beware of Aspect Ratio! - June 27, 2013
- What is the optimum number of lines of code written per day? - June 13, 2013
- Improving the way settings get passed in ExtractPagesAsHTML - May 30, 2013