java - javafx printing a table -


I am trying to print a table with the following code:

  public Zero print (Final node node) {printer printer = printer .get default printer (); Printjobjob job = printerzob.co.uk contact (); If (job! = Null) {Boolean success = job Print page (node); If (success) {job.endJob (); }}}  

and

  print (table);  

And I get: Enter image details here

The problem now is that the output is cut into all the columns after the 4th column (the table has 8 columns but it only shows 4 columns). I want to know how can I correct this problem

Thank you.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -