Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding JPanel in JFrame

 
Shaikh Riyaz
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic