I'm using the iText library and the
Code: Select all
JFreeChart draw(Graphics2D g2, Rectangle2D area)
method to draw a plot to a pdf file so that they can be edited in Adobe Illustrator. The chart being drawn is being displayed in a ChartPanel at the same time. If I draw the pdf on the EDT my GUI freezes up, but I'm unsure whether I can draw the pdf in a thread-safe way so that I can include a progress dialog.
Any advice would be appreciated!