Re: TableCellEditor -> JTextField
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Aug 2007 06:06:53 GMT
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
.
- References:
- TableCellEditor -> JTextField
- From: Chameleon
- TableCellEditor -> JTextField
- Prev by Date: Re: Applets automatically resizing when page size changes
- Next by Date: Re: Applets automatically resizing when page size changes
- Previous by thread: TableCellEditor -> JTextField
- Index(es):