Being that what gets displayed in the JTable is the stored object's toString, is it somehow possible to display other information?
For example, if I have a simple user object like this:
User
class User {
private String firstname;
private String lastname;
...
}
Can I display the first and last name properties in their own column in a JTable?
Like this:

Currently, I'm storing the string properties of the User object in the JTable rather than the User object itself.
e.g.
// where first/lastname are the strings retrieved
// via getFirstname() and getLastname() on the User object.
model.addRow(new Object[] {first, last });
However, the problem with this is all the book keeping involved anytime I need to retrieve and build the Object that the user clicks on in the JTable. Is it possible to store the User object in the JTable, but have it display different properties depending on the column it's in?