Results 1 to 5 of 5
- 05-02-2010, 10:10 AM #1
Senior Member
- Join Date
- Mar 2010
- Location
- Manila, Philippines
- Posts
- 257
- Rep Power
- 4
DefaultTableModel vs AbstractTableModel
Greetings,
I am back.
I am currently developing a personal time management system to my computer cafe rental. But I am getting confused to what I am to use between the two model.
Both model seems to work fine. But I am ask what is more effective with regards to memory perfomance and record selection.
Thanks.Every project, package, class, method, variable, syntax, algorithm, etc.
are registered in my memory bank. Thanks to this thread.
- 05-02-2010, 10:32 AM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
A DefaultTableModel uses Vectors of Vectors; Vectors synchronize when they have to manipulate or access their elements. An AbstractTableModel leaves that all to you. Pick your choice and don't worry too much about it now; premature optimization is the cause of all evil.
kind regards,
Jos
- 05-02-2010, 11:44 AM #3
Senior Member
- Join Date
- Mar 2010
- Location
- Manila, Philippines
- Posts
- 257
- Rep Power
- 4
But if you were to pick between the two model?
What would it be?Every project, package, class, method, variable, syntax, algorithm, etc.
are registered in my memory bank. Thanks to this thread.
- 05-02-2010, 11:47 AM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
- 05-02-2010, 12:10 PM #5
Senior Member
- Join Date
- Mar 2010
- Location
- Manila, Philippines
- Posts
- 257
- Rep Power
- 4
Similar Threads
-
Difference between Arraylist and Vector in abstractTableModel ?
By riddhik84 in forum New To JavaReplies: 3Last Post: 11-07-2009, 05:25 PM -
DefaultTableModel get the updated values
By stylian in forum AWT / SwingReplies: 3Last Post: 11-01-2009, 12:26 AM -
DefaultTableModel problem
By stylian in forum AWT / SwingReplies: 2Last Post: 10-31-2009, 04:23 PM -
Problem when adding values of the ResultSet to a AbstractTableModel
By Azuxard in forum AWT / SwingReplies: 4Last Post: 04-01-2009, 02:03 AM -
RequestFocus on DefaultTableModel Particular Cell
By yernikumar in forum AWT / SwingReplies: 1Last Post: 03-01-2009, 04:58 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks