This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adding JPanel in JFrame
 
Similar Threads
Whihc is a better approach?
swing
Graphics2D on JPanel
Card layout...
Difference between JFrame and JPanel