Have a look at this repo : https://github.com/mike-lischke/jree NPM package available : https://www.npmjs.com/package/jree I think that you can use his other project to literally redo script4j with javafx : https://github.com/mike-lischke/java2typescript Here are few examples how it works : https://github.com/mike-lischke/java2ts-examples There's more than what you have implemented : https://github.com/mike-lischke/jree/blob/HEAD/doc/jre.md Features : https://github.com/mike-lischke/jree/blob/HEAD/doc/features.md What do you think?
Have a look at this repo : https://github.com/mike-lischke/jree
NPM package available : https://www.npmjs.com/package/jree
I think that you can use his other project to literally redo script4j with javafx : https://github.com/mike-lischke/java2typescript
Here are few examples how it works : https://github.com/mike-lischke/java2ts-examples
There's more than what you have implemented : https://github.com/mike-lischke/jree/blob/HEAD/doc/jre.md
Features : https://github.com/mike-lischke/jree/blob/HEAD/doc/features.md
What do you think?