开发者

how to add JPanel to auto generated netbeans JFrame?

开发者 https://www.devze.com 2023-03-18 23:03 出处:网络
I have a开发者_JAVA技巧uto generated netbeans GUI (JFrame) and I\'m trying to add an external JPanel (different class) to the JFrame but it failed.What i\'m supposed to do?

I have a开发者_JAVA技巧uto generated netbeans GUI (JFrame) and I'm trying to add an external JPanel (different class) to the JFrame but it failed. What i'm supposed to do?

Note: JPanel is a web browser using DJ Native Swing.


I would assume that you would add the JPanel to the JFrame's contentPane just as you would with a non-NetBeans GUI, but again we're sort of hamstrung until you can tell us what you've tried and how it failed.

0

精彩评论

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