# 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:** 7

<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:29pm UTC](https://discourse.processing.org/t/processing-and-javafx/45692/7 "2025-05-18T19:29:52Z")

</div>

> [@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…

Something else to try…

You could also copy the _javafx.jar_ into the code folder in the sketch:

```auto
D:\Users\GLV\Documents\P4\libraries\javafx\library\javafx.jar 
// Location may be different on you PC

```

And after copying you may not require the _JavaFX library_ import:

`import processing.javafx.*;`

I have not tested all the cases so do some testing.

These worked with W10 and Processing 4.4.1:

- [Multiplication Table for JavaFX](https://discourse.processing.org/t/multiplication-table-for-javafx/45685)
- [JavaFX WebView Preview](https://discourse.processing.org/t/javafx-webview-preview/41343)
- [JavaFX Controls Preview](https://discourse.processing.org/t/javafx-controls-preview/41353)
- [JavaFX Controls in Default Window - #3 by svan](https://discourse.processing.org/t/javafx-controls-in-default-window/46404/3)
- [JavaFX Pagination Demo](https://discourse.processing.org/t/javafx-pagination-demo/46440)
- [JavaFX GIF Player](https://discourse.processing.org/t/javafx-gif-player/46543)
- [JavaFX with FXML Interface](https://discourse.processing.org/t/javafx-with-fxml-interface/45788)
- There may be more… do a search!

Contents of code folder in sketch:

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

`:)`

---

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