# Processing and JavaFX

**URL:** <https://discourse.processing.org/t/processing-and-javafx/45692>\
**Category:** Libraries\
**Created:** [February 1, 2025, 6:04pm UTC](https://discourse.processing.org/t/processing-and-javafx/45692 "2025-02-01T18:04:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [February 1, 2025, 6:10pm UTC](https://discourse.processing.org/t/processing-and-javafx/45692/2 "2025-02-01T18:10:37Z")

</div>

Hello,

I posted this in the gallery recently but have moved it to here instead.

@svan The gallery post should include the working configuration to run the code.  
Can you please add this?

> [@Multiplication Table for JavaFX](https://discourse.processing.org/t/multiplication-table-for-javafx/45685/1):
>
> It should run in the most recent Processing editor (v. 4.3.2) since all the JavaFX modules have now been added:

It **does not run** on Windows 10 Pro 22H2 with Processing 4.3.2 as is:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/9/5/951ea326edebd8689bfe35248bca44c9b3d78da9.png)

It **does run** on Windows 10 Pro 22H2 with Processing 4.3.2 with some additions.

It works if I import JavaFX and _drag and drop_ the 7 jar files (from the _modules_ folder) onto the sketch window to add them (a folder called _code_ is created and contains these):

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/0/d/0dc46490579534abce66d0a70222fb0452d855a6.png)

I also added this to the sketch:  
`import processing.javafx.*;`

Which will include this additional 1x required` javafx.jar` file:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/1/6/16c4b9a83a491d9e6b0b7d28ea202cc56849595f.png)

You could include all the 8x jar files (from above) in the _code folder_ as well and not need the `import processing.javafx.*;` statement.

Related:

> <https://github.com/processing/processing4/pull/856>
>
> Please add \_all seven of the javafx modules so that we may use JavaFX controls i…n our apps. Thanks.

---

_[View the full topic](https://discourse.processing.org/t/processing-and-javafx/45692)._
