Accessing components of custom renderer

Hi, i have created a custom tree cell renderer and editor for one of my JTree. This renderer consists of a set of radio button.

I have tried adding an action listener by

((JRadioButton)tree.getcellrenderer).addactionlistener(new Actionlistener())

However, the listener doesn't seem to fire when i click the radio button.

Please advice if i had gone wrong somewhere.

[431 byte] By [jax79sga] at [2007-11-26 12:59:44]
# 1
> However, the listener doesn't seem to fire when i click the radio button. Thats because a renderer is not a real component.Maybe one of the examples here will help you: http://www.objects.com.au/java/examples.do
camickra at 2007-7-7 16:59:09 > top of Java-index,Desktop,Core GUI APIs...