
Signature
monique
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
> I think Swing components are supposed to use paintComponent() instead
> of repaint() ..?
You are thinking of paint. paint/paintComponent are methods to override
in order to insert code that draws something on the component. repaint
indicates the component is 'damaged' and requests that the component be
redrawn at some point.
In this case, perhaps repaint isn't being called at all, or called on
the wrong object, or has threading issues, or something else. Who knows?
Tom Hawtin

Signature
Unemployed English Java programmer
http://jroller.com/page/tackline/
Monique Y. Mudama - 22 Nov 2005 17:51 GMT
>> I think Swing components are supposed to use paintComponent()
>> instead of repaint() ..?
[quoted text clipped - 3 lines]
> component. repaint indicates the component is 'damaged' and requests
> that the component be redrawn at some point.
Oopsie.
> In this case, perhaps repaint isn't being called at all, or called
> on the wrong object, or has threading issues, or something else. Who
> knows?
Not I!

Signature
monique
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
JediJ - 22 Nov 2005 20:02 GMT