Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>I understand that JavaFX doesn't have Printing capabillities just yet (what a disapointment). </p> </blockquote> <p>Java 8 includes printing capabilities for JavaFX. <a href="https://jdk8.java.net/download.html" rel="nofollow">https://jdk8.java.net/download.html</a></p> <p>The Java 8 printing features were implemented under <a href="https://javafx-jira.kenai.com/browse/RT-17383" rel="nofollow">RT-17383 Printing</a> and function as described in @Asimaruk's answer.</p> <blockquote> <p>I have found some information about taking a screenshot of a WebView for example and print it as an image. Is it possible to do something like that with a Table view. </p> </blockquote> <p>You can do this if you can't use Java 8.</p> <p>Use the JavaFX snapshot api, use SwingFXUtils to convert the JavaFX image to a BufferedImage, use Swing print methods to print the BufferedImage.</p> <blockquote> <p>How to go about to handle multiple pages on tables with many data.</p> </blockquote> <p>If you can't use Java 8, use the above snapshot method for each page, scrolling the table data between each snapshot.</p> <hr> <p>Also see <a href="https://javafx-jira.kenai.com/browse/RT-17665" rel="nofollow">RT-17665 Make some UI controls support printing their content</a> which is a request for a direct print api added to some controls (e.g. TableView), so you could right tableView.print() to print only the tableview and not an entire scene. This convenience API for printing has not currently been implemented but you can vote or comment on the related issue to indicate your interest in the feature.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload