• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CPU usage of JTable

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey I hope I'm in the right forum.
I'm currently having problems with painting a JTable, every time the JTable UI has to be repainted, because of updates, it uses a lot of CPU time.
How do I reduce/prevent this? I really need to update the UI every second as part of my application requirement. The table would have an average of 50 rows, and each row has about 8 columns.
CPU usage is around 30%.
please any suggestions is welcome.
thanks.
Sarone
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is a good article entitled "Christmas Tree Applications:
How to Create Frequently-Updated JTables that Perform Well". It should help you out a lot.
 
reply
    Bookmark Topic Watch Topic
  • New Topic