Menu

#4 JGrid not supporting print

open
nobody
None
5
2009-04-24
2009-04-24
Anonymous
No

Using java.awt.print.Printable i wanted to print JGrid, but it is throwing ArrayIndex errors on JGrid cells. It is unable to paint JGrid. Coult you please tell me what i am doing wrong? I took the code to print swing components from the following site.
http://www.java2s.com/Code/Java/2D-Graphics-GUI/PrintSwingcomponents.htm

Thanks,
illi.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB