You'll notice that TableCellEditor is an interface, which means it
can decide which actual component it returns when
getTableCellEditorComponent is called.
On May 2, 2006, at 7:56 AM, David Cake wrote:
I want to have two different editor behaviour for table cells in
the one Swing table, so presumably two different CellEditor
classes. Both are for editing what are essentially differently
formatted types of String (which can't subclassed, because String
is final). The only way to determine which editor is used is to
assign editors to particular classes.
Whats the best way to get what I want, two editor behaviours for
one table?
In fact, I don't really need two editors - just one editor, and
some cells that work as plain strings.
Regards
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden