How to replace the Swing Container in the TopComponent with a Frame?

"bradon" <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
Hi Everyone,

I'm working in a project which is composed by several tabs and all of them have been created extending TopComponent and setting editor as mode. 

Actually I'm working on a tab which should show the screen of a Virtual Machine (this one is running on VirtualBox). To reach this goal I'm using the open source project properJavaRDP. The problem is: this project is quite old, it uses as top level container a Frame from java.awt and if I extend the TopComponent class, it already includes a top level container from Swing. How can I include this Frame inside my component?

Inside the frame is included a Canvas. For some reasons I have to use the class RDesktopFrame (which extends Frame) of the project, and I can't include the Canvas inside a JInternalFrame (just for example).
Even if I've already searched information in the web, I didn't find anything so far. 

Thanks in advance!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.