Java: Making a window click-through (including text/images)

后端 未结 3 558
隐瞒了意图╮
隐瞒了意图╮ 2020-12-05 08:52

I want to create an overlay in Java that is transparent, always on top, and that I can click-through. I\'ve found some sim

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-05 09:15

    Why not just make use of the existing JLayeredPane? This blog post demonstrates putting a wide variety of overlays on a JFrame, including text, images, and dynamically drawn pixels.

提交回复
热议问题