Table within a table
I am developing a novel spreadsheet application using Java and Swing.
I would like to be able to add a sub table to a cell within the main table. In other words, I would like a situation where the main table includes somewhere in the centre a single cell and within that cell there is a further table.
Any suggestions on how best to achieve this?
Re: Table within a table
Moved from Advanced Java.
Read the API for JTable and go through the linked tutorial on How to Use Tables, particularly the section on renderers and editors.