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.
精彩评论