>>>>> "Jose" == Jose Antonio Lamas <[EMAIL PROTECTED]> writes:

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

It's supposed to call it twice.  You have to write your print() method so it
can be called repeatedly, producing the same results with the same data.  I
don't know where you could find a documented statement to that effect, but
that's how it's supposed to work.

-- 
===================================================================
David M. Karr          ; Best Consulting
[EMAIL PROTECTED]   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

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

Reply via email to