Hi
Have you ever tried Cheerpj?
It converts Java applications or libraries into JavaScript, it claims to fully support all standard Java APIs including Swing and it doesn’t require access to the source code.
There is a demo here but there’s a temporary server failure preventing it from working. As it’s based on OpenJDK, I expect it to be released under GPL v2 with classpath exception one day.

Interesting talk on desktop Java at JCrete including around DukeScript and a possible Electron-like framework using a Chromium frame and the JVM rather than node.js (bearing in mind client-side Java is still quite big inside industry internally). The license of DukeScript would appear not to be ideal for this to gain similar traction though. :-\