JTable allows editing with TableCellEditor. Sometimes the table might contain some complex objects, whose editing may not fit it the small area allocated to TableCellEditor. In such case it is good idea to add custom-editor button to TableCellEditor. CustomEditor is a button with icon [...]. On clicking this button, a more sofisticated UI in a dialog will popup. This is very common in PropertySheets.
Try it and enjoy !
Niciun comentariu:
Trimiteți un comentariu