This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 4523
    
    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: 19654
    
  18

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between JInternalFrame and JFrame
 
Similar Threads
How can i hide a JFrame from showing a window in the taskbar?
Difference among JFrame, JInternalFrame, InnerFrame
JInternal Frames under JMenu
non iconifiable JFrame
swing