Welcome to the JavaRanch! Please adjust your displayed name to meet the JavaRanch Naming Policy. You can change it here.
What do you mean by "print"? Print to the command prompt, or print to a printer? And what's it an array of? All these would really help answer your question...
Thanks! and welcome to the JavaRanch!
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I mean print to a printer. It's a String Array (String[][]). With Printable, PrintJob and Pageable (etc.) is it to difficult. Is there a simpler Solution for Printing? Can I get a complete Class from somewhere?
Hi Simon, One approach would be to use JFreeReport: http://www.object-refinery.com/jfreereport/index.html It's probably not going to be simpler (you have to create a report template in XML format by hand) but you get lots of extras for free (print preview, export to PDF, headers, footers, page numbering and so on). JFreeReport is free, subject to the terms of the GNU LGPL. Regards, Dave Gilbert www.object-refinery.com
Don't get me started about those stupid light bulbs.