Search code examples
javaswingjtableswingxtablecelleditor

CellEditor that uses JXDatePicker as editor


I need to make Date cells in my JTable editable, with a JXDatePicker. I suppose I need to implement TableCellEditor, but I don´t dare tackling it myself. Does anyone have a link or a quick piece of code that could help me?


Solution

  • Assuming you mean the JXDatePicker which is part of SwingX: it has a DatePickerCellEditor (in its table package) - because in this case it's not quite as easy to get the notifications correct :-)