Languages/Java

From KDE TechBase
Revision as of 20:32, 28 March 2016 by Scummos (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: This page is very old and does not apply to at all to the current state of KDE software.

Java support for KDE is now fairly significant. You can add applet support to your KDE applications, and with the Qt/KDE Java bindings you can develop KDE apps in Java. Issues relating to Java support for KDE should be discussed on the kde-java mailing list (though applet issues are usually discussed on kfm-devel).

  • QtJava and KDEJava (Koala)
    The QtJava and KDEJava (Koala) bindings developed by Richard Dale allow you to create Qt and KDE applications using Java. The code uses JNI to allow Java code to access KDEs native widgets. These bindings can be found in the kdebindings module of the KDE Subversion repository (Instructions).
  • KDE Java Applet Server (KJAS)
    KJAS allows KDE applications to embedd Java applets. It uses a pure Java server to run the applets, which it communicates with using standard UNIX pipes. KDE programmers can use a special KJavaAppletWidget to display the applets in their application. KJAS is already in a usable state.
  • QtAWT
    The QtAWT is a port of the peer classes underlying the Java AWT to the Qt toolkit, in future it will also use the KDE widgets. QtAWT is currently very incomplete, but you should feel free to give it a try, or even better to help finish it.
  • Mailing List (Archives)
    There is a dedicated mailing list for Java-specific issues in KDE. It is a fairly low-traffic list aimed at developers with an interest in writing Java applications for KDE and/or writing and maintaining the Java bindings.