omg so simple.
job.setPrintable(gui.this, pf);
Thanks Norm u made my day.
//:o
Type: Posts; User: spoX
omg so simple.
job.setPrintable(gui.this, pf);
Thanks Norm u made my day.
//:o
I treid, but don't know how to code it.
"job.setPrintable(this, pf)" don't work?
when using it i get this error in Eclips IDE
"The method setPrintable(Printable, PageFormat) in the type...
Thanks for ur time Norm.
I don' get an error message, when using the print I get a second jframe ontop of the first. And when print is finished i got 2 jframes.
//
Hello.
I have a problem to print my JFrame, i've read the tutorials A Basic Printing Program (The Java™ Tutorials > 2D Graphics > Printing)
But i stil dont get it.
When printing I get a new...