Java PDF Blog

PDF solutions for big and small customers

Java and PDF development - our personal experiences and discoveries

Download JPedal

Download JPedal PDF viewers

PDF to Image service

Try our PDF to image conversion service now.

Java PDF Ebook Solution

Try our Ebook solution now.

Subscribe

Your email:

Java PDF blog

Current Articles | RSS Feed RSS Feed

JPedalFX - a JavaFX PDF Viewer

Posted by sam howard on Fri, Dec 11, 2009 @ 01:44 PM
Submit to Digg digg it |  Add to delicious  delicious |  Submit to StumbleUpon StumbleUpon | Submit to Reddit reddit 

During a recent trip to Sun Microsystems' customer briefing centre in London I sat through an enjoyable overview of JavaFX and its short-term future. While I had heard of it before, it was interesting to see how easily exciting interfaces could be put together. I couldn't help but think how several things I have implemented in Java could have been implemented much more quickly in JavaFX, so I decided to spend a few hours trying it out.

There's lots of great example code at javafx.com, which provides a good starting point. As can be expected, it is very similar to Java, and any Java developer should be able to start writing code almost straight away. The obvious choice was to write a simple PDF viewer, which I then did using spare moments over the past week or so. The result is JPedalFX - an attempt at a clean and simple viewer.

 

 

My only complaint with JavaFX is the lack of ability to compile to a standard jar file which will run on the JVM. While you can do so by including the JavaFX jars in your product, it is apparently not allowed under JavaFX's licensing. In any case, deployment via Webstart is the preferred option, which (hopefully) suits JPedalFX well.

Over all, I am impressed at how quickly you can learn and develop in JavaFX, and the quality of the resultant applications. JavaFX is a much needed step towards putting UI design in the hands of designers rather than programmers, but it also provides a framework in which programmers can more easily create exciting interfaces.

Give JPedalFX a go, and see what you think. I'd love to hear your thoughts.

Tags: , , , ,

COMMENTS

I get any time a "Unknow filetype" error dialog. With a various bunch of pdf files. No chance to open a pdf file with this program...

posted @ Tuesday, May 04, 2010 1:40 AM by Josch


Post Comment
Name
 *
Email
 *
Website (optional)
Comment
 *

Allowed tags: <a> link, <b> bold, <i> italics