hi all,
I need to print a Swing form onto a printer. I'm extending JPanel and implementing
Printable interface and putting all the form components in this panel and
printing this panel. But the print(Graphicsg,PageFormat p,int i) method is
getting called repeatedly.
If any of u have faced this prob, pls advice.
"shashikanth" <shashi_05jan@hotmail.com> wrote:
>
>hi all,
>I need to print a Swing form onto a printer. I'm extending JPanel and implementing
>Printable interface and putting all the form components in this panel and
>printing this panel. But the print(Graphicsg,PageFormat p,int i) method
is
>getting called repeatedly.
>If any of u have faced this prob, pls advice.
>
>thank you
>
>-Sh
>