This content has been marked as final. Show 7 replies
The request for printing support is already a very old request but up to now there is no solution.
This feature request of mine from june 2011 http://javafx-jira.kenai.com/browse/RT-14016 links to other
related requests. Although the last comment states that this feature will be considered for the next
release after 2.0 I have not seen any support for it in the latest 2.1 snapshot.
Thank you for the tip!
Do you have any experiences with e.g. JasperReports used together with JavaFX?
As far as I see, the viewer components are Swing components, which would require the application to be a swing application (since I cannot embed a Swing component in a JavaFX app.) - correct?
In respect to the JavaFX roadmap (JavaFX substituting Swing) I rather would avoid building Swing apps that embed JavaFX scenes.
the viewer components are Swing components, which would require the application to be a swing application (since I cannot embed a Swing component in a JavaFX app.) - correct?I used a Swing pdf viewer in a JavaFX application.
When I wanted to display a pdf, I just invoked the main method on the Swing pdf viewer which created a Swing JFrame and it all seemed to just work. Of course, it isn't an officially supported integration point. As long as the Swing portions of the app are being rendered in their own JFrame rather than a JavaFX managed Stage and you are careful about any threading callback issues, then displaying a Swing based report from a JavaFX app seems like it should be pretty straight-forward and a pretty quick and low-risk solution.