Hello,
My tree cell renderer creates complex cell which contains 3 JLabels.
How do I add mouse listener to one of these labels? By default mouse
event is registered only by the tree, how do I pass this event to
appropriate label?
Best regards
Lynx
Christian Kaufhold - 29 Jun 2005 12:50 GMT
> My tree cell renderer creates complex cell which contains 3 JLabels.
> How do I add mouse listener to one of these labels? By default mouse
> event is registered only by the tree, how do I pass this event to
> appropriate label?
You use a TreeCellEditor.
Christian