Hello,

since the JDK8 preview is available, I've thought that it'd be easier to use Jython & JavaFX. And I was right :)
I don't have to set the -Dpython.path=<path to jfxrt.jar"> anymore.
However, one issue remains.
When I try to use javafx.scene.control.Label class, it throws this exception:
Traceback (most recent call last):
  File "hello.jy", line 4, in <module>
    from javafx.scene.control import Label
java.lang.ExceptionInInitializerError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:339)
        at org.python.core.Py.loadAndInitClass(Py.java:929)
        at org.python.core.Py.findClassInternal(Py.java:864)
        at org.python.core.Py.findClassEx(Py.java:915)
        at org.python.core.packagecache.SysPackageManager.findClass(SysPackageMa
nager.java:133)
        at org.python.core.packagecache.PackageManager.findClass(PackageManager.
java:28)
        at org.python.core.packagecache.SysPackageManager.findClass(SysPackageMa
nager.java:122)
        at org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:137)

        at org.python.core.PyObject.__findattr__(PyObject.java:879)
        at org.python.core.imp.importFromAs(imp.java:1034)
        at org.python.core.imp.importFrom(imp.java:1006)
        at org.python.pycode._pyx0.f$0(hello.jy:23)
        at org.python.pycode._pyx0.call_function(hello.jy)
        at org.python.core.PyTableCode.call(PyTableCode.java:165)
        at org.python.core.PyCode.call(PyCode.java:18)
        at org.python.core.Py.runCode(Py.java:1302)
        at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:235
)
        at org.python.util.jython.run(jython.java:308)
        at org.python.util.jython.main(jython.java:137)
Caused by: java.lang.NullPointerException
        at com.sun.javafx.tk.quantum.QuantumToolkit.isSupported(QuantumToolkit.j
ava:1249)
        at com.sun.javafx.application.PlatformImpl.isSupported(PlatformImpl.java
:452)
        at com.sun.javafx.application.PlatformImpl$11.run(PlatformImpl.java:548)

        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.javafx.application.PlatformImpl.setPlatformUserAgentStyleshee
t(PlatformImpl.java:544)
        at com.sun.javafx.application.PlatformImpl.setDefaultPlatformUserAgentSt
ylesheet(PlatformImpl.java:479)
        at javafx.scene.control.Control.<clinit>(Control.java:81)
        ... 20 more

java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError

and here's the code:
# hello.py
from javafx.application import Application
from javafx.scene import Scene
from javafx.scene.control import Label
from javafx.scene.layout import AnchorPane


class Hello(Application):
    def start(self, stage):
        stage.setTitle("Hello, World!")

        root = AnchorPane()
        label = Label("Hello, World!")
        root.getChildren().add(label)

        scene = Scene(root, 100, 40)
        stage.setScene(scene)

        stage.show()


if __name__ == '__main__':
    Application.launch(Hello().class, [])
Im' running Windows 7 64-bit with JDK8 b94 and Jython 2.7 b1
I'd love to use Jython & JavaFX and I'm willing to work on this together.

Regards, Jiri
--
http://www.dredwerkz.cz
+420 739 575 905
218 659 431
http://www.plurk.com/goddard