Working with several custom table models avoiding repetitive code
Like other Swing models (i.e.: DefaultComboBoxModel, DefaultListModel) we can use Generics in order to create a flexible and reusable table model, also providing an API to work with user-defined POJO’s. This table model will have the following special features: It extends from AbstractTableModel to take advantage of table model events handling. Unlike CustomerTableModel shown above, … Read more