# Swing Components in Default Processing Window\_py5

**URL:** <https://discourse.processing.org/t/swing-components-in-default-processing-window-py5/44482>\
**Category:** py5\
**Created:** [May 24, 2024, 11:20am UTC](https://discourse.processing.org/t/swing-components-in-default-processing-window-py5/44482 "2024-05-24T11:20:30Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [May 25, 2024, 8:09pm UTC](https://discourse.processing.org/t/swing-components-in-default-processing-window-py5/44482/5 "2024-05-25T20:09:14Z")

</div>

> [@svan](#):
>
> I’m assuming that you ran this code in the Windows environment,

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.

> [@svan](#):
>
> With the addition of JavaFX there should now be controls for py5 users to take advantage of.

Unfortunately I couldn’t make py5 run your other [JavaFX demo](https://discourse.processing.org/t/javafx-in-py5-demo/44480). 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.

---

_[View the full topic](https://discourse.processing.org/t/swing-components-in-default-processing-window-py5/44482)._
