• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Difference among JFrame, JInternalFrame, InnerFrame

 
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone tell me the difference among JFrame,
JInternalFrame, InnerFrame?
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JFrame is the basic top-level "frame" component used by Swing applications. JInternalFrame is used by Swing applications to show "frames" inside a JDesktopPane. This is used for Multiple Document Interface applications. (Like MS Word, each document is inside a separate frame in an application. If this was written in Java, each document would have it's own JInternalFrame.)

InnerFrame is not a class in the standard Java APIs... the only reference I can find to an InnerFrame is in the XWT, a toolkit that lets you build application interfaces from XML, in which case I don't think you would be using this class directly...
[ October 01, 2002: Message edited by: Nathan Pruett ]
reply
    Bookmark Topic Watch Topic
  • New Topic