This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
Card layout...
Whihc is a better approach?
Difference between JFrame and JPanel
Graphics2D on JPanel
swing