JavaFX GIF Player Discussion

It is worth further exploration!
I have explored this before and had to be very meticulous making sure everything was in a know state and a lot of deleting files and restarting Processing and sketch.
At one point I simply lost track and was both optimistic but also uncertain about outcomes.
Have not revisited this until now… and will be sure to document and be able to reproduce before posting anything formal.

Proceed with caution. :slight_smile:

It does not seem to work with this one:
JavaFX Controls Preview

All jar files copied to library folder as per:

No jar files in the sketch folder.

Error:
Cannot find a class or type named “Tooltip”

I copied these three to the sketch and it worked:

Output:

:)

Hello @svan,

Is this a complete list of your JavaFX demos (posted in this forum) for further testing with W10?

I have been updating them here:
Processing and JavaFX - #7 by glv

This may be going off-topic so I also added to topic above for other options to run JavaFX under Windows.

JavaFX demos:

:)

Is this a complete list of your JavaFX demos (posted in this forum) for further testing with W10?

There’s also a JavaFX MediaPlayer demo that I will post in a separate thread. Recently we have started putting these controls in the default Processing window and not using Scene and Stage in a javafx window (which precludes using draw()). Initially our java demos were capable of producing two windows: the default java window and a javafx window (stage). The FX2D renderer window already has a StackPane and a default PSurfaceFX window that will accept standard Processing drawing calls so it seems more efficient (with less code) to just use it (discussed here): JavaFX Controls in Default Window - #7 by svan. The only downside is that the accompanying StackPane is CENTER aligned and precludes placing controls at other locations. This may be overcome by adding a ‘regular’ Pane to the window’s root pane and then we can use setLocationX/Y to place controls wherever we want them. This technique works pretty well in py5 for both macos and linux. However, so far we have been unable to run JavaFX py5 demos in Windows. For that reason I am anxious to see if we can use SymLinks to make that possible. I greatly appreciate your contributions.

1 Like