Add transparent JPanel upon AWT Component to paint on

前端 未结 4 1320
时光说笑
时光说笑 2021-01-22 02:49

I\'ve got a Problem: In my Java application I\'ve got an AWT Component (cannot change that one) that streams and shows an avi-file. Now I want to draw upon this movie and though

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-22 03:04

    did you try a GlassPane since i think thats exactly it's use case. soemthing like JFrame.setGlassPane() if i remember correctly. check here:

    Java API JFrame

    GlassPane examples

提交回复
热议问题