Two Laptop Bag
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Adding JPanel in JFrame" Watch "Adding JPanel in JFrame" New topic

Adding JPanel in JFrame

Shaikh Riyaz

Joined: Mar 08, 2005
Posts: 20
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 .
I agree. Here's the link:
subject: Adding JPanel in JFrame
It's not a secret anymore!