Re: TableCellEditor -> JTextField



On Thu, 30 Aug 2007 02:10:07 +0300, Chameleon <cham_gss@xxxxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :

I have a JTextField in a TableCellEditor.
With a KeyListener I catch JTextField's Shift+Enter compination to add
in text a special character.

The #1 source of confusion is that JTable uses the same single
JTextField component to render every cell. This recycling has all
kinds of strange side effects, possibly including yours.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.