This abstract class provides default implementations for most of
the methods in the TableModel interface. It takes care of
the management of listeners and provides some conveniences for generating
TableModelEvents and dispatching them to the listeners.
To create a concrete TableModel as a subclass of
AbstractTableModel you need only provide implementations
for the following three methods:

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeansTM
has been added to the java.beans package.
Please see XMLEncoder.

findColumn

Returns a column given its name.
Implementation is naive so this should be overridden if
this method is to be called often. This method is not
in the TableModel interface and is not used by the
JTable.

fireTableDataChanged

public void fireTableDataChanged()

Notifies all listeners that all cell values in the table's
rows may have changed. The number of rows may also have changed
and the JTable should redraw the
table from scratch. The structure of the table (as in the order of the
columns) is assumed to be the same.

fireTableStructureChanged

public void fireTableStructureChanged()

Notifies all listeners that the table's structure has changed.
The number of columns in the table, and the names and types of
the new columns may be different from the previous state.
If the JTable receives this event and its
autoCreateColumnsFromModel
flag is set it discards any table columns that it had and reallocates
default columns in the order they appear in the model. This is the
same as calling setModel(TableModel) on the
JTable.