• Post Reply Bookmark Topic Watch Topic
  • New Topic

Main Frame n Internal frame

 
sae0203
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm doing a project on megabook system. so i was doing the inventory part and the other plp are doing the customer and order etc.... all of us have a menubar n toolbar. but we would like to integrate all that into another file so that the rest can just use the code for both menu n tool bar. cause throught the window application, the menubar will not change. so... how can we create a frame for it? is it something like an external frame. how can we go abt doing it.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use a JFrame for the Main App window using a JDesktopPane for the Content Pane. And place your menubar and toolbar on it. Then you can create JInternalFrames to house your individual Windows and place those on the JDesktopPane.
Tutorial here
 
sae0203
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks the tutorial from sun was very helpful.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!