Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to (re)paint an AWT applet faster

 
Tien Shan
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to repaint this AWT applet of mine little bit faster? If I have 10 columns and 20 rows of textFields, when I repaint the applet, I can literally "see" the repainting being done, like an unseen hand sweeping clean the fields and then another hand putting the new fields in places. I will need to do better.

Does anyone have an advice?
Thank you.


and the html
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if the 10 x 20 textfields are 'set' ie they will not change to 8 x 20 or 10 x 22 etc
there is no need to remove/add them back.

try commenting out these lines

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic