Home Segments Top Top Previous Next

982: Mainline

The default table model, introduced in Segment 985, holds the data that the table displays, provides access to those data for methods defined in JTable, and serves as an anchor point for connecting editing listeners.

The methods that provide access to the default table model are imposed by the TableModel interface. You learn how to modify a table model in Segment 985. You learn how to obtain edited values in Segment 1011.

The default table-column model holds information about column labels and column widths. You learn how to modify the default table-column model in Segment 990.

The default table-cell renderer determines how data is displayed. You learn why table-cell renderers are important in Segment 996. You learn how to create a table-cell renderer in Segment 997.