• Post Reply Bookmark Topic Watch Topic
  • New Topic

Show JInternalframe Instead of JFrame

 
Chernenko Nencor
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello, i've made some code here


when i debug the Application, it shows


here's my code on the Main Form (with Menubar on it)


how can i show MasterConsole internalframe ?
why is Labelformtitle not showing ?
 
Campbell Ritchie
Marshal
Posts: 52519
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you set any sizes for the frame or the internal frame?
 
Chernenko Nencor
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Did you set any sizes for the frame or the internal frame?

neither did i,

which one do i have to set the sizes, frame, or JInternalframe ?
 
Rob Camick
Ranch Hand
Posts: 2699
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which one do i have to set the sizes, frame, or JInternalframe ?


Read the section from the Swing tutorial on How to Use Internal Frames.

Download the demo code and use it as a starting point. The code will be better structured than your current code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!