[Kde-java] java panels in native QT application?

Michael O'Keeffe michaelok at gmail.com
Thu Jan 19 02:59:08 CET 2006


On Mon, 16 Jan 2006 09:54:37 -0600, Anders Norgaard <biehl at binf.ku.dk>  
wrote:

> On 1/16/06, Sandor Brockhauser <brockhauser at embl-grenoble.fr> wrote:
[snip]
>
>> Would you have any suggestion how to integrate my existing java (swing)
>> panels into my separate Qt application?
>
> I think that the easiest by far would be to "port", that is rewrite,
> one of the applications. Either write new QT panels in stead of the
> swing ones you have. Or write a swing application and then integrate
> your swing panels. The api's are not that different, so if you have a
> basic design,  you won't need to change much.
>

Perhaps somewhere between using the AWT Native Interface as mentioned, and  
porting your app (and definitely that might be the best over the long run,  
maintenance-wise, depending on how big the app is) would be to use  
something like CORBA.  I'm using omniORB, with Qt/Win.

-Mike


More information about the Kde-java mailing list