• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

How to (re)paint an AWT applet faster  RSS feed

 
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
 
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
Boost this thread!