File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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
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:
subject: Swing Performance
jQuery in Action, 3rd edition