0

I am trying to open various jFrames from one Menu GUI form. I want display all the jFrames to be shown within this GUI form itself instead of opening the jFrame in a new window. how to display multiple jFrames within a single window in Swing?

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
  • Perhaps using JPanels as opposed to JFrames will let you accomplish what you want? – hd1 Sep 16 '13 at 18:32
  • 3
    You're probably looking for [JInternalFrame](http://docs.oracle.com/javase/tutorial/uiswing/components/internalframe.html). – kiheru Sep 16 '13 at 19:06
  • 1
    See [The Use of Multiple JFrames, Good/Bad Practice?](http://stackoverflow.com/a/9554657/418556) It shows many alternatives to multiple frames. – Andrew Thompson Sep 16 '13 at 19:39
  • Got it, but provide me the required code for implementing this feature. – soumik ghosh Sep 17 '13 at 05:55

0 Answers0