>>>>> "Peter" == Peter Pilgrim <[EMAIL PROTECTED]> writes:
Peter> The solution to KDE, GNOME, AWT enabled is to make the
Peter> whole X window code abstract and generic then apply a
Peter> factory plugin architecture that loads Java Proxy and JNI
Peter> classes at runtime such we have
Peter> libjavaawt.so
Peter> libjavakde.so
Peter> libjavaqt.so
Peter> libjavanextstep.so
Peter> et al
Peter> Then at a property in `awt.properties' file to decide which
Peter> Java class to load at runtime
Peter> java.awt.native.interface.libclass =
com.sun.awt.native.kde.KdeUIFactory
Peter> java.awt.native.interface.libclass = com.sun.awt.native.qt.QtUIFactory
Something similar is already possible with the system property
"awt.toolkit".
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
JVM'01: http://www.usenix.org/events/jvm01/
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]