AdvancedJTable

Top  Previous  Next

 

AdvancedJTable extends JTable, so it inherits all JTable's methods and properties.

 

In addition, it provides a rich set of features made available by other classes in the library. More specifically, AdvancedJTable can:

 

Autoresize table columns upon double-clicking on a table column border.
Display a popup through which the columns of the table can be dynamically added/removed.
Use a table header whose columns cannot be reordered with right mouse button clicks. You can also specify which columns are allowed to be dragged and reordered.
Correctly handle selection changes when the tabular data are restructured.
Merge and split cells.
Display a row header.
Group column headers together.
Lock non-scrollable rows/columns on the edges of the table.
Use Styles for easy cell rendering.
Use additional cell editors and renderers.

 

Furthermore, AdvancedJTable includes some inherent features:

 

A dummy column may be added last to the table header with no data underneath, for decorative purposes. See Dummy Last Column.
Make the first column of the table not movable. See Fixed First Column.
Programmatically alter the table columns displayed and their widths. See Table State.

 

Finally, by using specialized TableModels, AdvancedJTable manipulates the data in order to provide for sorting and filtering effects.