I started working on an alternative to the Elemental 2 APIs called 
DOMjnate. Like Elemental 2, DOMjnate gives you a typed interface for 
accessing the JavaScript DOM APIs. The main difference, though, is that you 
can use it in Java without using GWT or J2CL. You can make a JavaFX app 
with a webview and use the DOMjnate APIs to control the webview. Compile 
and debug your HTML5 program straight from your Java IDE without needing to 
compile to JavaScript first! You can, of course, still compile your code to 
JavaScript with GWT if you want since DOMjnate uses JsInterop.

The code is here:

https://github.com/my2iu/Domjnate

It's generated from the Typescript APIs, so it's reasonably complete. I've 
only used it for small toy programs so far, so there is probably lots of 
potential for improvement. But I did port Elemental 1 to work with the 
JavaFX webview in the past, so I'm fairly comfortable with how the plumbing 
should work.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to