Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Confused Project?  RSS feed

 
andrew beales
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,I am doing a Service store college project.It has Admin,Inventory Order,Service Order subsystems.I would like to have a seperate view for each sub system.
Is it possible to have multiple jpanel with each a desktop pane and capable of holding internal frames?
I would like to control each panel by a toolbar positioned to the left of screen maybe floating.
Could you offer any advice?
Thank You
 
Eddie Vanda
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andrew
I am using JTabbedPane for my multi user project. Each part of my project is indicated on a tab and the user clicks on the tab to do something. This keeps things simple because they can only see one page at a time. Technically, each page is a JPanel that has been added to one JTabbedPane.
It also allows me to checks on what saving needs to be done when they leave a page.
Eddie
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
andrew,

You could do what you want with a card layout on a JPanel, with each card holding a JDesktopPane. Or you could just use one JDesktopPane and show()/hide() groups of JInternalFrames when the buttons on the toolbar are pushed.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!