NetBeans PDF to JavaFX plugin released

NetBeans has seen lots of exciting activity with support for Javafx 2.0 so we have added a facility to convert PDF files to javafx to our PDF viewer plugin for NetBeans. As well as displaying PDF files, you can now convert PDF files into Javafx. The commands inside the PDF are all converted into Javafx commands. At the moment fonts are substituted – we might look at the possibilities of embedding as web fonts at a later date. Welcome to the first release…

Any PDF file in any location can be converted and the path will be inserted for images. If you move the classes, the code will throw a runtime error telling you that the path needs to be changed. A nice feature is that if you put a PDF in your src directory and then generate the files it should all work correctly!

There is also a nice nav tab so that you can use to move through pages.

There is a limit to the size of files allowed and some PDF files can generate some very large files. So we have limited filesize to around 170k – if the output is bigger you will get a blank page with a message saying the file was too big. We might allow output to the new FXML language in a later release to get around this.

Anyway, this is just the first release, so enjoy and let us have some feedback…

 

 

 

Related Posts:

The following two tabs change content below.

Mark Stephens

System Architect and Lead Developer at IDRSolutions
Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX. He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.
Markee174

About Mark Stephens

Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX. He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>