My application has 4 layers of containers. And painting of the screens is not done immediately after some of the events, even though I revalidate/repaint. What are the guidelines to be followed to have a good painting of the screens. Thanks in advance
posted 15 years ago
Painting should occur flawlessly if you have your application threaded properly. Make sure none of your event-handling code is taking lots of time... if so use separate threads to avoid slowing down the event-dispatching thread. ------------------ Matthew Robinson co-author of "Swing" (1999, Manning Publications). Freely available at http://www.spindoczine.com/sbe
Matthew Robinson<BR>email@example.com<BR>co-author of "<a href=http://www.amazon.com/exec/obidos/ASIN/189311578X/ref=ase_electricporkchop/107-7882751-0234939 target=newwindow rel="nofollow">Swing</a>" (1999, Manning Publications). Freely available at <A HREF="http://www.spindoczine.com/sbe" TARGET=_blank rel="nofollow">http://www.spindoczine.com/sbe</A>
Curse your sudden but inevitable betrayal! And this tiny ad too!
the new thread boost feature brings a LOT of attention to your favorite threads