Posted By:
Scott_Stanchfield
Posted On:
Tuesday, August 14, 2001 02:31 AM
Renderers are simply "rubber stamps" that are used to paint a cell in a table. They are not live components.
You can deal with the mouse events in two ways:
- Add a mouse listener to the table itself, and check to see which cell the events occur on.
- Add a cell editor to the table
If you add a cell editor, you'll need to be sure your TableModel returns true for isCellEditable(row,column) for any cells you want to edit.