Resize request

I have a:
SingleCDockable > JPanel >> JPanel
_____________________l>> JScrollPane >>> JPanel
What I need is to trigger some code on the last panel when the dock is dock is resized.
How do I do that?
Is there a on resize listener for the CDock?
Or is there some normal swing/java way to do it?

I would add a java.awt.ComponentListener to the first JPanel, the method “componentResized” will be called whenever the Dockable is resized.

Thanks ! It Works!