JTable cell editor
0 posts in topic
Flat View  Flat View

Posted By:   flavio_palumbo
Posted On:   Thursday, January 27, 2005 12:52 AM

Hi all,

I tried to customize a TableCellEditor by writing my own class that extends DefaultCellEditor ; the specific cell editor I want to use, is a custom extension of a JTextField
that accepts only decimal characters.

If I click with the mouse on the table cell everything works fine, and I can insert in the field only numbers.

If I press a key on the cell I can insert any character I want and it seems that my custom JTextField is not used to edit the cell.

Any suggestion ?

Thanks a lot


About | Sitemap | Contact