Embed HWND (Window Handle) in a JPanel

前端 未结 1 997
感情败类
感情败类 2020-12-06 14:30

I am trying to embed a HWND (Window Handle) in a JPanel.

Actually, I can embed my HWND into a JFrame, but the embedded window alway stay on top of the other componen

相关标签:
1条回答
  • 2020-12-06 15:10

    JPanels are lightweighted components (they have no real native peer). i.e. they use already the handle of the (J)Frame. Look at java.awt.Canvas.

    0 讨论(0)
提交回复
热议问题