0

I'm using netbeans and its GUI Builder.

I have a Form JFrameTest. I created a PersonPanel JPanel class. I dragged-dropped it into the JFrameTest created by Netbeans. So the JFrameTest used by Netbeans contains auto-generated code.

What I want is to add for example a JTable to my custom PersonPanel JPanel class and have the JTable code inside. But now, when I'm dragging Swing subviews like JTable inside my custom class, the code is always generated in the JFrameTest class created by Netbeans.

How can I do it ?

Aymenworks
  • 423
  • 7
  • 21
  • Learn java and start coding instead of using auto-generated code ! –  Jun 20 '15 at 08:56
  • I'm already investing myself on something I like. I don't want to invest a lot of time into it. – Aymenworks Jun 20 '15 at 08:58
  • With that kind of answer "I don't want to invest a lot of time into it" you might as well give up because Java is an interesting language and investing in it is not a waste of time. –  Jun 20 '15 at 09:05
  • Sure, I don't doubt :] – Aymenworks Jun 20 '15 at 09:07
  • 1
    Create a new `JPanel Form` add your table to it..In the `JFrame Form` add the `JPanel Form` using `SetContentPane` function – Madhan Jun 20 '15 at 09:16

0 Answers0