Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between JInternalFrame and JFrame  RSS feed

 
Benson Fung
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I usually use JFrame and put the different panel on top. Can you teach me the uses of JInternalFrame? What is the difference between JFrame and JInternalFrame?


Thanks
Benson
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the API for JInternalFrame and follow the link to the Sun tutorial on "How to use Internal Frames".

In a nutshell, JFrame is a top level window and JInternalFrame is a lightweight component.
 
Rob Spoor
Sheriff
Posts: 21048
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://java.sun.com/docs/books/tutorial/uiswing/components/internalframe.html

Darn you Darryl! Beat me to it!

JInternalFrame is Swing's MDI solution.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!