Hello. I'm new to
java and swing and googled coderanch articles helped me a lot. I have a problem right now with a JTable so I thought maybe people with more experience could help. Here it is:
I have a JTable bound to a List of entities read from a database (using JPA). The entity has a foreign key, so it has a sub-List (of another entity) which i use to bind to another JTable (for detail). This works fine if the fields don't require a cell renderer. The detail JTable has a column with byte[] that i should render as the icon but the IconCellRenderer does not work. In fact any cell renderer won't work with the second JTable.
I don't understand. Please help. (By the way, I'm using Netbeans GUI builder but I don't think this is a Netbeans problem. Maybe.)