Hi All,
I'm trying to create a JTable, where I have a few pieces of data that are not part of the display. For example, if I select row one, it might have file name, user id displayed in the table, but I also have a bunch of fields i can access from that Row of the model that aren't rendered.
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).
As always, thanks for even reading this!
I'm trying to create a JTable, where I have a few pieces of data that are not part of the display. For example, if I select row one, it might have file name, user id displayed in the table, but I also have a bunch of fields i can access from that Row of the model that aren't rendered.
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).
As always, thanks for even reading this!