Which is a better top level container for this design, JFrame with Jpanels, or JDesktop with JInternalFrames

后端 未结 3 2062
刺人心
刺人心 2021-01-23 03:31

I\'m a beginner with Swing and AWT, I\'m looking to build a GUI using Netbeans. My GUI requires three areas, that I\'m currently thinking of as JPanels on a JFrame. I require

3条回答
  •  天命终不由人
    2021-01-23 03:50

    JInternalFrames typically have titlebars, go-away boxes etc. example here which doesn't seem to fit your model. (Unless you want users to be able to move the panels anywhere they want, or make them go away?) So I'd suggest the simpler JFrame with JPanels.

提交回复
热议问题