Re:New Java to WASM GC Transpiler: Run Java in the Browser, ...
by peutetre on Sunday December 15, 2024 @07:34PM
(#42427009)
> I think Swing is a non-goal of this project.
It could work though by drawing to canvas.
That's what Avalonia does in C#: https://avaloniaui.net/
Here's a clone of Visual Basic 6 written with Avalonia and compiled to WebAssembly:
There are at least two GUI toolkits that run on TeaVM: 1. Codename One. Similar to swing, but focused on mobile https://www.codenameone.com 2. SnapKit. Targeted at desktop. Also a light-weight toolkit, like Swing. https://github.com/reportmill/SnapKit