Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SWING

 
Rajeev Iyer
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to implement the concept of MDI child forms in SWING?
Thanks....
 
Rene Liebmann
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to include a JDesktopPane in your Frame. The JDesktopPane is able to deal with JInternalFrames, which you can add to it.
You should try to make all functions like cascading with a DesktopManager.
If you want to know more, please have a look to the Swing Tutorial from Sun. You will also find some good information in the API.
Hope that helps
Rene
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic