This is a simple applet that shows powers of integers.
It is a nice example of how to use a TableModel and
JTable together to display data in tabular form that is
not necessarily stored in tabular form.
In fact, in this example, none of the data in the
table is actually stored in the model at all.