wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Adding JPanel in JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Adding JPanel in JFrame" Watch "Adding JPanel in JFrame" New topic
Author

Adding JPanel in JFrame

Shaikh Riyaz
Greenhorn

Joined: Mar 08, 2005
Posts: 20
Hi,
plz help me.
I wanna to add Jpanel in a JFrame,where JPanel is a different class and JFrame is a defferent class.
In my application there is two JPanels one on BorderLayout.WEST and other is on Borderlayout.EAST.
West panel contains JTree.and East JPanel is generated according to the selection make in Tree.
plz provide methe code for this .
thanx
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Adding JPanel in JFrame