Sorry. I want to receive mouseEvents in my child component when the mouse is over it, but not receive them when it is over the rest of the parent component.
Simply implementing the mouseEnter, mouseExit overrides in the child component does nothing by itself. They are not called.
Since I posted this, I found that if I add the child component as a MouseListener in the parent component, the mouse functions will be called in the child component. However, they will be called NOT only when it is over the child component, but when it is over any part of the parent component as well.
in parent component:
I tried implementing hitTest() in the parent component to only recognize the area of the child component, which sort of works - but then other child components in the parent are excluded.
Don’t know if that made sense…