At one point, I temporarily lost my sanity and adapted the old Elemental to 
do something like that. Here is some test code that hooks in to JavaFx to 
run some things in Java's embedded WebKit browser:

https://github.com/my2iu/gwt/blob/elementalfx/elemental/tests/elemental/javafx/dom/FxDocumentTest.java

I imagine that when the new Elemental with JsInterop-support comes out, it 
will be adaptable in a similar way. It might even be possible now to just 
do something using Java Proxy objects and skip Elemental entirely.

Overall though, it was really ungainly. I built a whole application on top 
of it, and it was just so many types of awful. Looking back, that was not 
an avenue worth exploring.

As for unit tests, you can just use a mocking framework to mock up your 
JsInterop interfaces. Then you'd get to work entirely in Java while still 
testing your code properly.

-- 
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 [email protected].
To post to this group, send email to [email protected].
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