Swing Components in Default Processing Window_py5

Yup, inside “cmd.exe” command prompt. But it should work on any terminal from any OS where both Java & Python are installed.

BtW, we can have multiple instances of the same Python file running at the same time.

Tip: Use pythonw sketch_name.py or pyw sketch_name.py to run a Python file w/o blocking the terminal’s command prompt.

Unfortunately I couldn’t make py5 run your other JavaFX demo. It throws:

java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:283)
at javafx.scene.Node.(Node.java:417)

I’ve copied all the “.jar” files into subfolder “jars/” btW.

1 Like