This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Performance and the fly likes CPU usage of JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "CPU usage of JTable" Watch "CPU usage of JTable" New topic
Author

CPU usage of JTable

Sarone Thach
Ranch Hand

Joined: Jun 25, 2003
Posts: 89
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

Joined: Jul 08, 2003
Posts: 24183
    
  34

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.


[Jess in Action][AskingGoodQuestions]
 
 
subject: CPU usage of JTable
 
Similar Threads
JTable(!!!)
JTable
JTable
JTable
JTable