Jason Richard wrote:I'm assuming my best best to to extend the DefaultTableModel or the AbstractTableModel, but I'm having a tough time finding exactly what I should do with that once i do.
To be clear, I want each row to represent an instance of an Object. Some of those Object's variables are visible columns, the other is data I want to have access to but not display ever (so I'm not just trying to hide columns).
Sure, this is a perfectly normal way to do things. The bit you're missing about how to implement it is, you override the getValueAt() and setValueAt() methods to expose only the attributes you want to be visible. Like this (pseudo-code):
You can also override the getColumnClass() method so that the default renderers work better.