[6003] in java-interest

home help back first fref pref prev next nref lref last post

paint() function cal

daemon@ATHENA.MIT.EDU (Kenneth Cheng)
Fri Mar 8 02:01:12 1996

From: Kenneth Cheng <kcheng@cs.stanford.edu>
To: java-interest@java.sun.com
Date: Thu, 7 Mar 1996 21:43:23 -0800 (PST)

I experienced a wired problem when I load my applet with appletviewer.
When I first load my applet, I saw my screen being drawn repeatly. When I look
at my debug statement, I found out my paint() function has been called more
9 times during initial load.  I double check other methods and make
sure they did not call the paint() function.  
I have no clue what is going on.  The strange thing is when I run the program
again, I found paint() was run for 11 times in the initial load.  However, when
I reload the program in the appletviewer, everything is fine, paint() is only
called for once. Any idea?
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post