2 ms·
The reasons for leaving Swing aren't things breaking all the time or being unmaintained. Swing is maintained by Oracle and JetBrains, for example it recently go
by mike_hearn 4y ago
The reasons for leaving Swing aren't things breaking all the time or being unmaintained. Swing is maintained by Oracle and JetBrains, for example it recently got a Metal backend. It's been continuously maintained for, what, 20 years now? Compared to the JavaScript framework world, Java UI toolkits are highly stable. Both Android and desktop Java have only had two UI toolkit transitions in their history (Views/Jetpack Compose, Swing/JavaFX respectively), with interop existing in both cases.
The issues are elsewhere. For example distribution is/was harder than for a web app, though jlink and Conveyor [1] makes it much easier now than it used to be.
[1] https://hydraulic.software/ https://hydraulic.software/ (disclaimer: my company/product)