It's not a secret anymore!*
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
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
 
Consider Paul's rocket mass heater.
 
subject: Adding JPanel in JFrame
 
Similar Threads
Card layout...
Whihc is a better approach?
Difference between JFrame and JPanel
Graphics2D on JPanel
swing