aspose file tools
The moose likes Swing / AWT / SWT and the fly likes jframe to import multiple jpanel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "jframe to import multiple jpanel" Watch "jframe to import multiple jpanel" New topic

jframe to import multiple jpanel

joe garcia

Joined: Mar 01, 2010
Posts: 9
0 vote down star

i am particularly using netbeans gui editor and i am new to gui

i have a jframe created and I added jtabbedpanel.

inside the jtabbedpanel i have 2 panels that i call standard and compact

i have set standardPanel = new ImagePanel(); which is located on different java file

how am I suppose to put a panel on different file for reusability ?

i obviously dont want all the codes in a single file.

is this the right way to design a gui ?

Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2334
Cross posted:

Be Forthright When Cross Posting To Other Sites
I agree. Here's the link:
subject: jframe to import multiple jpanel