better java <-> fx interop