title: How can I use my TopComponent as a JFrame?
body: <p>Netbeans Platform's TopComponents are functionally similar to JFrames in many ways, and are intended to be used so, besides the fact that <a href="http://bits.netbeans.org/dev/javadoc/org-openide-windows/org/openide/windows/TopComponent.html" rel="nofollow"><code>TopComponent</code></a> extends <code>JComponent</code>.</p>
  
  <p>However, I'm currently trying to use <a href="http://dock.javaforge.com/index.html" rel="nofollow">Docking Frames</a> for my application. I would like to insert a bunch of these in one of my TopComponents, but the control class expects a JFrame as a parameter, and it cannot be instantiated without it. As I said, <code>TopComponent</code> doesn't extend <code>JFrame</code>, so I can't simply cast them, but sadly, they would <em>probably</em> do the trick if I could.</p>
  
  <p>What can I do?</p>