Rev3rse
Rev3rse

Reputation: 1

how to add JPanel to auto generated netbeans JFrame?

I have auto 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.

Upvotes: 0

Views: 760

Answers (1)

Hovercraft Full Of Eels
Hovercraft Full Of Eels

Reputation: 285405

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.

Upvotes: 2

Related Questions