0

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.

Lawrence Dol
  • 61,437
  • 25
  • 136
  • 186

1 Answers1

2

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.

Hovercraft Full Of Eels
  • 280,125
  • 25
  • 247
  • 360
  • 1
    +1 There's a related example [here](http://stackoverflow.com/questions/2561480/netbeans-gui-editor-generating-its-own-incomprehensible-code/2561540#2561540). – trashgod Jul 08 '11 at 01:40