posted 21 years ago
Please explain how you create myModel.
AbstractTableModel is an abstract class. Therefore, you can't instantiate it directly.
Do you have your own TableModel class? I have a feeling you would find creating one to be useful. Then you can define the behavior you want custom to your problem (e.g. override deleteRow to also make a call to your database).
If DefaultTableModel does everything you need, then great.