6 ms·
I think Swing is a non-goal of this project. It provides good interop with the DOM and core JS methods, and it makes it easy to create your own interop for JS
by shannah78 2y ago
I think Swing is a non-goal of this project. It provides good interop with the DOM and core JS methods, and it makes it easy to create your own interop for JS apis that aren't in the core.
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 https://www.codenameone.com
2. SnapKit. Targeted at desktop. Also a light-weight toolkit, like Swing. https://github.com/reportmill/SnapKit https://github.com/reportmill/SnapKit
- peutetre 2y ago> 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/ https://avaloniaui.net/ Here's a clone of Visual Basic 6 written with Avalonia and compiled to WebAssembly: https://bandysc.github.io/AvaloniaVisualBasic6/ https://bandysc.github.io/AvaloniaVisualBasic6/ https://github.com/BAndysc/AvaloniaVisualBasic6 https://github.com/BAndysc/AvaloniaVisualBasic6