I am working on making a screen recorder in JavaFX and one utility that is mandatory in the screen recorder is to let the user define how much area to record.
I m
I know this thread is old, but i think new people are stumbling against this problem and no true way was made possible by the code provided above, i played around 2 days with the solutions above and had no hope for perfect draggable and resizable window, until now.
https://github.com/goxr3plus/FX-BorderlessScene
This library saved my sanity, using 3 lines of code i managed to give the proper behaviour to my scene.