Geoff Jefferson wrote:>> I have employe a ListSelectionListener to getValueAt(), I suppose I could try setValueAt().
...eh' probably not. Don't know what I was thinking.
I don't understand why fireTableDataChanged() didn't work.
... hey are Katydid's edible? One just landed on my lamp.
I do have my own table model,
and I tried calling a method that implements the fireTableDataChanged()
Geoff Jefferson wrote:
pete stein wrote:
Edit: problem number 2: you are tring to fiddle directly with the List that is at the core of the table's model, a field that should be
private, rather than using a public addRow method or something similar that fires the table model's listeners.
So I shouldn't try to add to the list at all?
problem number 3 (to echo rob camick): why use AbstractTableModel when a DefaultTableModel would be a much better fit and
would be much easier to use.
My goal is to be able to use the list as an item file that can be edited. Wouldn't I need an Abstract model to do this?
There were millions of the little blood suckers. But thanks to this tiny ad, I wasn't bitten once.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton