If I have an Applet, and say another window is over the display of the
Applet, when I remove the other window, such that the Applet should repaint,
and it only repaints partially (unless I do some mouse action over a
component on the Applet, whereupon that component then repaints), shouldn't
Applet.paintComponents() be called when my Applet needs to be repainted by
such a thing (i.e., a window over it, being removed?) What SHOULD be called,
Applet.paint() ? -Ike
hiwa - 20 Dec 2003 10:00 GMT
> If I have an Applet, and say another window is over the display of the
> Applet, when I remove the other window, such that the Applet should repaint,
[quoted text clipped - 3 lines]
> such a thing (i.e., a window over it, being removed?) What SHOULD be called,
> Applet.paint() ? -Ike
Applet doesn't have paintComponent() method. I haven't tried
yet, but calling repaint() in a ComponentListener might solve
the problem. Just my guess.