First of all, let's cover the sequence of events that take places before a cell editor is called:
- JTable detects a mouse click over one of its cells and calls
isCellEditable()inTableModel. - If the cell is editable according to
TableModel, theCellEditor'sisCellEditable()method is called as well. This second method call determines whether the cell is single or double-clicked (which is required to make a editable cell, well editable).
No comments:
Post a Comment