开发者

Using AWT components inside a JInnerFrame (for JDesktopPane)

is there a way to hack bugs related to adding an AWT component (in my case a PApplet, so a processing language sketch) inside a JInternalFrame?

It works but not as intended, since it flickers and dragging the 开发者_StackOverflow社区frame causes repaint issues.. reading around it seems that, althrough it's possible to mix heavyweight (AWT) and lightweight (Swing) components some problems seem to be unavoidable.. is it true?

Thanks!


Recently improved, Mixing Heavy and Light Components may shed some light on your particular usage. See also, Mixing Heavyweight and Lightweight Components.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜