>> Since EventObject already exists, why reinvent the wheel, and add a new
>> "Event Interface" which i would have to explicitly implement if the code
[quoted text clipped - 3 lines]
> implementation of other classes for which 'explicit' interfaces exist. Eg
> why use TableModel when DefaultTableModel does the job?
I disagree here. I would usually favor an interface if in principle,
completely different implementations are possible or likely (see
ListModel), while favoring a direct implementation if that implementation
is the only one likely ever to be used (such as in EventObject).

Signature
You can't run away forever,
But there's nothing wrong with getting a good head start.
--- Jim Steinman, "Rock and Roll Dreams Come Through"
VisionSet - 17 Dec 2005 13:10 GMT
> >> Since EventObject already exists, why reinvent the wheel, and add a new
> >> "Event Interface" which i would have to explicitly implement if the code
[quoted text clipped - 8 lines]
> ListModel), while favoring a direct implementation if that implementation
> is the only one likely ever to be used (such as in EventObject).
You misunderstand me, I would also favour TableModel for anything other than
the very trivial.
I was merely turning you argument around hence:
Since DefaultTableModel already exists, why reinvent the wheel, and add a
[new]
TableModel Interface which i would have to explicitly implement if the code
from DefaultTableModel can be reused?
--
Mike W