[5714] in java-interest
Repainting an applet ...
daemon@ATHENA.MIT.EDU (Katsalis Nikolaos 537)
Sat Feb 24 13:57:38 1996
Date: Sat, 24 Feb 1996 19:38:00 +0200
From: Katsalis Nikolaos 537 <katsalis@csd.uch.gr>
To: java-interest@java.sun.com
Cc: katsalis@csd.uch.gr
Hi,
I am working with an applet that communicates using
sockets. In the time of communication I want to repaint the applet.
The applet has on it 3 panels each of which has a few components.
If something hapens during the communications (i.e another window
gets on netscape) the applet doesn't look nice, and I must wait
for the communication to end in order the applet to be repainted.
How can I force the repainting of the applet and all of it's
components when I want to ?
I tried to call repaint() of all applets and components but the
applet does not be repainted.
I also tried using: paintComponents(getGraphics());
but it is also not working.
Thanks in advance,
Nikos.
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com