Robert_Stubbs
asked on
How do I integrate Java Swing/awt and QT windows
I'm trying to put a java swing/awt window (JFrame/JDialog) on top of a Qt main application. I would like to have the parenting of the qt/java windows so that the java frame/dialog behave like its parent of the qt application. I was able to successfully integration X/Motify and Win32 by using the window id and then setting the X/Motif / win32 window as the parent of the java window. In looking at the Qt api, I wasn't sure if Qt would allow the reparenting to be done in the same way (qtwindow->setParent(java- >winid)). This is because java and X behave differently than java and win32. Since Qt is a layer on top of both, I'm not sure if one implementation would work for both Qt on windows and Qt on unix.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
i think this will help u a lot.
www.javaworld.com/javaworld/jw-08-2007/jw-08-qtjambi.html?page=2
www.javalobby.org/java/forums/m92174063.html
www.javalobby.org/java/forums/t98827.html
http://labs.trolltech.com/blogs/2007/07/27/a-mixture-of-qt-jambi-and-awt-swing/