My guess is that py5.get_surface().get_native() would return a JavaFX object of some kind that could somehow be embedded in a JavaFX window? It would be neat if you could use py5 drawing commands to draw something that is inside a JavaFX window that also has those controls on it.