aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Difference between JInternalFrame and JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Difference between JInternalFrame and JFrame" Watch "Difference between JInternalFrame and JFrame" New topic
Author

Difference between JInternalFrame and JFrame

Benson Fung
Ranch Hand

Joined: Apr 10, 2003
Posts: 211
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

Joined: May 03, 2008
Posts: 4642
    
    5

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.


luck, db
There are no new questions, but there may be new answers.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19723
    
  20

http://java.sun.com/docs/books/tutorial/uiswing/components/internalframe.html

Darn you Darryl! Beat me to it!

JInternalFrame is Swing's MDI solution.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Difference between JInternalFrame and JFrame