During development of multiple applications I've often found a need to have a component that would look like a JTable, but would be fully interactable, meaning you can interact with elements in every cell. This is doable with JTable, but you will have to duplicate the same component as editor & renderer and there are a lot of other complications created by JTable API.
The idea is to make a different component that would simply layout actual cell JComponents on itself instead of visually rendering them as an image (like JTable does) and will have a simple and clean API to do so. This component will obviously have worse performance compared to JTable, but it is not intended for displaying large amounts of data, but it should be way more convenient for creating table-like editor for small amounts of data.
Here is a list of features that will probably be in the first version of the component:
Model with table and tree-table structure support
In case of tree-table structure - support for collapsing parent rows
Cell JComponents provided through some kind of interface like CellComponent
Support for render-only mode for cells (for instance row header cells that are label)
Performance optimizations on layout level (components outside of visible area are hidden)
Row and column sorting probably won't be included in first version and will be added in future only if necessary.
Also, component won't necessarily look like JTable, but will have some similarities with it.
During development of multiple applications I've often found a need to have a component that would look like a
JTable
, but would be fully interactable, meaning you can interact with elements in every cell. This is doable withJTable
, but you will have to duplicate the same component as editor & renderer and there are a lot of other complications created byJTable
API.The idea is to make a different component that would simply layout actual cell
JComponent
s on itself instead of visually rendering them as an image (likeJTable
does) and will have a simple and clean API to do so. This component will obviously have worse performance compared toJTable
, but it is not intended for displaying large amounts of data, but it should be way more convenient for creating table-like editor for small amounts of data.Here is a list of features that will probably be in the first version of the component:
JComponent
s provided through some kind of interface likeCellComponent
Row and column sorting probably won't be included in first version and will be added in future only if necessary.
Also, component won't necessarily look like
JTable
, but will have some similarities with it.