JTable example

Here is a simple example of using a custom renderer and editor in a JTable, as described in How to Use Tables. Note that the column labeled Value is a composite that implements Comparable, so that the default RowSorter sorts numerically.

Copyright © 2009 John B. Matthews. Distributed under the terms of the LGPL.