(paying closer attention) Then what about this?If I understand your design, a TableRow<E> is a row that is encapsulated by an E object, not a row that contains E objects? In that case a SimpleTableModel<E> is going to encapsulate a list of TableRow<E> elements.
Joined: Dec 12, 2002
unfortunately I need to access the class of TableRow too as I have a method :
Do you really need to care about which kind of TableRow the TableModel is using?
If you just want an add method,
should work just fine, shouldn't it?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus