File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 207
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: 4522
    
    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: 19538
    
  16

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
 
Don't get me started about those stupid light bulbs.
 
subject: Difference between JInternalFrame and JFrame
 
Similar Threads
How can i hide a JFrame from showing a window in the taskbar?
JInternal Frames under JMenu
swing
Difference among JFrame, JInternalFrame, InnerFrame
non iconifiable JFrame