This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Performance and the fly likes Swing Performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Swing Performance" Watch "Swing Performance" New topic
Author

Swing Performance

Udayan Naik
Ranch Hand

Joined: Oct 18, 2000
Posts: 135
I have an Applet in which i use JTables and create my own table models extending AbstractTableModel and overriding the appropriate methods.I observed that the methods getValueAt() and setValueAt() are called several times for each entry in the JTable.What is the reason for that? Will this not degrade the performance as my application then remains busy for a longer time than it should be ?
------------------
Come on in !! Drinks are on the house in the Big Moose Saloon !!


Udayan Naik<BR>Sun Certified Programmer for the Java 2 Platform
Jack Shirazi
Author
Ranch Hand

Joined: Oct 26, 2000
Posts: 96
Wilson & Kesselman cover this in their book (Java Platform Performance: Strategies and Tactics.). The relevant chapter, chapter 10, is online. There's a link from the tips page at my site
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Swing Performance