Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between JInternalFrame and JFrame

 
Benson Fung
Ranch Hand
Posts: 214
  • 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: 5125
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
Pie
Posts: 20495
54
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