Hi,

you can override editCellAt(), call super.editCellAt(), getEditorComponent() and selectAll of this editorcomponent. Somtimes it's necessary to use SwingUtilities.invokeLater...

Greetings,
 jens




Kubliniak, Martin schrieb:
Hello,

I created ULCTable with some editable columns. I use ULCTextField as an editor component. How can I achieve that whole text in textfield would be selected when user starts editing it (=when the editor component becomes visible).

I need this because users want to be able to rewrite content of the cell just by writing text to it (as in excel…).

Thanks,

Martin.


_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to