Use Thread.dumpStack() in your print routine and you'll
be able to see what's calling it each time.

Regards

Dave Wathen
Goldman Sachs Asset Management
3rd Floor, Procession House
55 Ludgate Hill
London EC4M 7JN
+44 (0)20-7774-2998

It is not necessary to understand things in order to argue about them.
(Caron de Beaumarchais)


-----Original Message-----
From: Jose Antonio Lamas [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 12:19 PM
To: Advanced-Swing
Subject: twice invoked printing


Hi,

I have a class that implements Printable, and my problem is that method
print is called twice. I only print text and directly using
graphics.drawString(myString). I think that the solution is
'RepaintManager.currentManager(this).setDoubleBufferingEnabled (false)' but
my class is not a component and I only print text, so I cannot invoke the
previous method.

Thanks in advance

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to