What about selecting the whole text before editing it? This will enable you to
clear everything in case you want to overwrite it and will let you the be able
to press Esc if you do not want to alter it (would be much nicer than simply
setting the text to null or "").

Go for DefaultCellEditor to get further info (and remember: the
editorComponent will be a JTextField in most cases - check this if you want to
feel safe)

Regards,
Stefan.

"Jose H. Reyes Reina" wrote:

> HI!
>
> Can someone please tell me why my the values in my cells don't get over
> written when I start typing?
> Instead the cell values get appended.  How can I change this?
>
> Jose
>
> MUCHAS Thanks
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> _______________________________________________
> Swing mailing list
> [EMAIL PROTECTED]
> http://eos.dk/mailman/listinfo/swing

_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to