Webassembly is growing fast. Do you think running a Java Swing application is going to be possible in the near future on Wasm in a browser?
I'm not all that familiar with the Java ecosystem, but I seem to recall the CheerpJ people having examples for running Swing applications in the browser. (I don't know much about how their solution works, or whether it's open source.)