Re: [Java-gnome-developer] Re: architecture question
Brought to you by:
afcowie
From: Sandor Bodo-M. <sbo...@gm...> - 2006-05-01 18:59:47
|
On 01 May 2006 09:27:39 -0600, Tom Tromey <tr...@re...> wrote: > > >>>>> "Andrew" =3D=3D Andrew Cowie <an...@op...> write= s: > > Andrew> I'm not sure how well GTK and AWT will play together. There was a > Andrew> conversation in #classpath on freenode the other day to the effec= t > that > Andrew> because both would have to talk to the X server simultaneously th= e > Andrew> answer was "not very well". > > Yeah -- this is actually a problem unique to the free VMs because they > use Gtk to implement AWT. The use of Gtk in AWT and the use of Gtk > in SWT clash, causing crashes :-( > > Tom > > A while back i just wished that i could mix somehow the gnu classpath and java-gnome in the sense that i can manipulate the same Gtk widget from two different API - awt/swing from once and java-gtk from other. If Gnu classpath is relying on Gtk - would it be sensible to export an interface to the underlying Gtk widgets to make it more usable with swt and java-gnome. Of course this would mean that it has to extend the java specs .... Just my 2 cent for this topic Sanyi PS - i managed to mix swing with java-gnome, but i needed to restore the X IO error handlers of swing - otherwise hard crashes happened. |