Java Reference
In-Depth Information
Summary
In this chapter, you explored the inner depths of the
JTable
component. You looked at custom-
izing the
TableModel
,
TableColumnModel
, and
ListSelectionModel
for the
JTable
. You delved
into both the abstract and concrete implementations of the different table models. In addition,
you examined the inner elements of the various table models, such as the
TableColumn
and
JTableHeader
classes. You also looked into how to customize the display and editing of the
JTable
cells by providing a custom
TableCellRenderer
and
TableCellEditor
. Finally, you learned
about printing tables via the new
print()
method.
In Chapter 19, you'll explore the drag-and-drop architecture of the JFC/Swing component set.