how to manipulate JTable return value on specified column?
I have a JTable that has two columns ( editable JTable ). When a user types something in the second column, my requirement is as follows: user can only typewrite a number and comma when user type wrong character, it will beep (Toolkit.getDefaultToolkit().beep(); ) How do I go about achieving this? ( if it jtextfield it need document filter or plain document etc, if it JTable, then how? ) MadProgrammer Implement a TableCellEditor that is capable of returning a text component ( JTextField ) that has a DocumentFilter attached to it capable of filtering the incoming text as you require. You might