Does JavaFX 2.0 supports printing? I have a text area from which I take the text and then I want to print it, but it seems that there is not functionality for that. Of course, here I am talking about printing to a printer. :)
not yet supported. As a workaround you can make screenshot and print using Java2d.
See
Copying the image of a ScatterChart to system clipboard in JavaFX 2.0
Printing a BufferedImage in Java
Update:
JavaFX8 (which will be included into upcoming JDK8 release) has printing support. See nice example here: http://java.dzone.com/articles/introduction-example-javafx-8
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With