How to bind an action to the icon setting in TableCellRenderer?

Answered

Hi, I want to implement such a function: the left side of the cell is text, the right side is the button icon. When click the button, this cell text can be copied.

I found the “TableCellRenderer”API, but can not bind action to the icon.

 Is there any way to achieve it?

Thanks!


 

0
1 comment

Hi,

Could you please share your current implementation?

0

Please sign in to leave a comment.