Re: [gtk-list] Java binding for gtk ?



Maksim Lin wrote:
> 
> Does anyone know of a java binding for gtk.  I have seen references to
> for bindings for c++,effiel, python, perl,etc on the web site, but
> nothing about java.  Is this because there is something fundementally
> incompatible between the two, or just no one has gotten around to doing
> it. I'd be very interested in writing some apps for gnome, but having
> gotten used to java, I'm not too keen on going back to C.
> 
> If no binding exists, could people who have done other bindings be able
> to give some hints as to how difficult it is to create a binding to the
> gtk ?  I am fairly competant with Java, but I've never done anything
> like a binding so I'm not quite sure what would be involved.
> 

Can't claim to be an expert, but from what I know of Java GUI stuff, AWT
is implemented on top of Motif or the Win32 widget-set-with-no-name,
depending on the platform. So it would seem to me that the logical way
to create a Java binding would be to rip Motif out of an AWT
implementation and replace it with GTK; that way you don't lose
cross-platform portability of your Java code (assuming that is important
to you).

Don't know how you would get on license-term-wise with hacking the AWT
stuff in the jdk. Maybe (just guessing) you would be better off starting
with the biss-AWT code.

> Any help would be most appreciated,
> Thanks,
> 
> Maksim Lin.
> --
> ==========================================
> Maksim Lin
> Centre for Object Technology Applications and Research
> Swinburne University of Technology
> ===========================================
> 

Regards
M.Beach



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]