File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CPU usage of JTable

 
Sarone Thach
Ranch Hand
Posts: 89
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic