Friday August 28, 2009
Turn PS into PDF
Made a small plugin that lets me generate PDF from PS, via the "ps2pdf" utility on Ubuntu (and probably other Linuxes and other os'es):
Aside from the NetBeans API classes relating to files, I used the following for the above integration:
- org.netbeans.api.progress.ProgressHandle
- org.netbeans.api.progress.ProgressHandleFactory
- org.openide.execution.NbProcessDescriptor
- org.openide.util.RequestProcessor
- org.openide.windows.IOProvider
- org.openide.windows.InputOutput
- org.openide.windows.OutputWriter
As a result, I can write the output from the external process to the Output window in the IDE, I prevent the GUI from hanging while the processing occurs, and I integrate with the IDE's progress bar.
Aug 28 2009, 11:50:33 AM PDT Permalink
Geertjan, this would be great as a tutorial for progress handling
Posted by David on September 03, 2009 at 06:46 AM PDT #
Cool! Is this Plug-in available for download? Thanks.
Posted by Marco Hunsicker on September 14, 2009 at 09:25 AM PDT #


