• Post Reply Bookmark Topic Watch Topic
  • New Topic

Painting  RSS feed

 
Swamy Vatti
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Matt Robinson
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!