JPanel in JFrame in NetBeans

Posted by Gaurav on Stack Overflow See other posts from Stack Overflow or by Gaurav
Published on 2009-01-30T11:28:33Z Indexed on 2010/04/20 11:53 UTC
Read the original article Hit count: 267

Filed under:
|
|
|
|

I have created a Java application (project) in NetBeans, in which I have designed a JFrame with menu bar, and different JPanels. I want these JPanels to appear inside the JFrame on action of different menu items, so that whenever the menu items are clicked different JPanels should appear inside the JFrame. I have designed both JFrame & JPanel separately, but I couldn't link them together.

Please help me out friends.

© Stack Overflow or respective owner

Related posts about java

Related posts about swing