It appears as if there is very little use of JDesktopPane but it doesn't appear to be deprecated. Are they any advantages of using JDesktopPane instead JFrame? I mainly plan on putting a few JInternalFrames into it.
EDIT: I didn't realize that a JDesktopPane more fills the role of a Panel than a frame.
A JDesktopPane should sit inside a JFrame's contentPane instead of a Jpanel. Thanks for the answers fellows!