aspose file tools*
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
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
 
jQuery in Action, 2nd edition
 
subject: Swing Performance