make MDI parent and child window in swing

make parent and child window in swing

Page 1 of 1

3 Replies - 10747 Views - Last Post: 01 January 2011 - 04:40 PM Rate Topic: -----

#1 kirti.adsul  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 26
  • Joined: 02-November 10

make MDI parent and child window in swing

Posted 01 January 2011 - 03:09 AM

Hi,
I want to make parent window containing menubar and child window to that parent window in swing application,like MDI from in vb.
so plz guide me.....
Is This A Good Question/Topic? 0
  • +

Replies To: make MDI parent and child window in swing

#2 GregBrannon  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2194
  • View blog
  • Posts: 5,222
  • Joined: 10-September 10

Re: make MDI parent and child window in swing

Posted 01 January 2011 - 05:31 AM

I wrote a tutorial on how to create child windows using Swing in an MVC architecture here.

If your new to MVC, here's a good intro.

I really don't know what "MDI from in vb" means, so sorry if I've missed the mark.

Good luck!
Was This Post Helpful? 0
  • +
  • -

#3 GregBrannon  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2194
  • View blog
  • Posts: 5,222
  • Joined: 10-September 10

Re: make MDI parent and child window in swing

Posted 01 January 2011 - 06:23 AM

I thought more about your question while I was in the shower - sometimes where my best work is done - and I realized you may just be asking how to do a menu to a frame. If so, check out the Java Menu tutorials online here. If you're new to Swing, you may want to check out the excellent Swing tutorials here on DIC.

Sorry for any confusion I may have caused.
Was This Post Helpful? 0
  • +
  • -

#4 Dogstopper  Icon User is online

  • The Ninjaducky
  • member icon



Reputation: 2858
  • View blog
  • Posts: 10,963
  • Joined: 15-July 08

Re: make MDI parent and child window in swing

Posted 01 January 2011 - 04:40 PM

View PostGregBrannon, on 01 January 2011 - 06:31 AM, said:

I wrote a tutorial on how to create child windows using Swing in an MVC architecture here.

If your new to MVC, here's a good intro.

I really don't know what "MDI from in vb" means, so sorry if I've missed the mark.

Good luck!


@GregBrannon, I think he was referring to the former. MDI Applications in VB are windows that have windows inside them, just like you said. :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1