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.