My wishes for Java: No more GTK2

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

 



Hi all,

Note that I'm not a C developer so I don't feel able to provide any patch to OpenJDK, that's why I send this mail to hopefully motivate some more competent people to solve some issues we have ;)

In the context of development of Eclipse/SWT-based applications, I'd like to share with you one of the issues we have currently. It's about SWT vs JavaFX and GTK3 vs GTK2.
SWT and JavaFX can theorically live together in the same application ( http://docs.oracle.com/javafx/2/swt_interoperability/jfxpub-swt_interoperability.htm ). This is interesting because JavaFX provide a nice WebView, which we could embed in Eclipse as an alternative/complement to invoking XulRunner or Webkit wrapper when rendering web pages in Eclipse. However, SWT is moving to GTK3 whereas JavaFX is still stuck on GTK2. So both can't coexist properly in the same application.
Apparently, only the fx-glass module needs update, so it doesn't seem to be a too difficult task to change code to use GTK3 instead of GTK2.
However, in this message https://www.mail-archive.com/openjfx-dev@xxxxxxxxxxxxxxxx/msg05966.html , it's said that JavaFX can't move to GTK3 because the Swing/AWT part is also linked to GTK2, and since both are shipped together, it doesn't make sense to introduce inconsistency between different JVM "modules". So it seems like if we want to align JavaFX on GTK3, it also requires to move AWT to GTK3.

Do any of you have already investigated those issues? Does anyone already has plan to provide fixes for that?

Cheers,
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux