What I'm trying to achieve is a JTable that shows a JPanel in every cell. But instead the JTable just calls the toString method of my JPanel and shows that instead.
Does anyone know a way around this?
Thank you.
Printable View
What I'm trying to achieve is a JTable that shows a JPanel in every cell. But instead the JTable just calls the toString method of my JPanel and shows that instead.
Does anyone know a way around this?
Thank you.
The JTable is a view of content in a TableModel. Work on your table model. Here is a link to the Java Tutorial on tables:
http://java.sun.com/docs/books/tutor...nts/table.html