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:

Download our free PDF Guide for Java Developers

This entry was posted in Java, javafx, NetBeans and tagged , , , . Bookmark the permalink.

Comments are closed.