B
beowolf
Hi, I would like to print various jtable(s) in a single printjob.
I've discovered the java.awt.print.Book class and i've found many
helpful examples of its use.
But i'm not able to convert my Jtable(s) to printable for appending it
to the "book".
That is: bk.append((Printable)MyTable1, portrait);
fails at run time with: jtable cannot be cast to printable.
Can anyone address me to some tutorial about how to get a "printable"
object out of a jtable ?
Thank you
cross posted to comp.lang.java.help and comp.lang.java.programmer
I've discovered the java.awt.print.Book class and i've found many
helpful examples of its use.
But i'm not able to convert my Jtable(s) to printable for appending it
to the "book".
That is: bk.append((Printable)MyTable1, portrait);
fails at run time with: jtable cannot be cast to printable.
Can anyone address me to some tutorial about how to get a "printable"
object out of a jtable ?
Thank you
cross posted to comp.lang.java.help and comp.lang.java.programmer