Hi, I have a doubt about the tablemodel. I've always seen (in examples on the web) that the table models are contructed by an object Object.. In need to make a table from a various lists.I have to convert the lists to Object ??? or there is a way to directly put the lists in the model??
One way is to subclass AbstractTableModel, contain references to your various lists in your new class, and access those lists as appropriate from the methods you must override to implement AbstractTableModel.
posted 12 years ago
Yes, i get your point. I've implemented the AbstractTablemodel, but i just dont't get how to put the lists into the model, any aexample ?? Thanks