# JavaFX Controls in Default Window

**URL:** <https://discourse.processing.org/t/javafx-controls-in-default-window/46404>\
**Category:** Development\
**Created:** [May 17, 2025, 2:09pm UTC](https://discourse.processing.org/t/javafx-controls-in-default-window/46404 "2025-05-17T14:09:49Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [May 18, 2025, 7:13pm UTC](https://discourse.processing.org/t/javafx-controls-in-default-window/46404/6 "2025-05-18T19:13:34Z")

</div>

> [@svan](#):
>
> Finally figured out how to get root pane of PSurfaceFX; the following works on my system (macOS).

It appears to work with W10 as well on Processing 4.4.1.

Windows users interested in using JavaFX should read this first:

> [@Processing and JavaFX](https://discourse.processing.org/t/processing-and-javafx/45692/5):
>
> Hello folks! I can run JavaFX code examples (links below) with: Windows 10 Pro 22H2 Processing 4.3.2 Steps: Install the JavaFX library. Import the JavaFX library in your code: Add the JavaFX modules (jar files in modules folder) to your sketch folder. I have some code below to assist with finding them. The simplest way to do this is to drag and drop them into your sketch window. This will create a folder called code that contains them. Or… You cold also manual…

`:)`

---

_[View the full topic](https://discourse.processing.org/t/javafx-controls-in-default-window/46404)._
