swing mouse listeners being intercepted by child components

后端 未结 4 1147
说谎
说谎 2020-12-20 22:05

I have a swing component that has several sub components. What I want to do change some label if the mouse is over any of those components, and then change it to something e

4条回答
  •  有刺的猬
    2020-12-20 22:45

    Check out the docs and examples for the "glass pane".
    This should give you what you need: The Glass Pane

提交回复
热议问题