Re:Sad state of cross platform GUI frameworks
by java-man on Friday April 03, 2020 @03:33PM
(#22773173)
In the context, I take it the question is about why javafx is better than swing?
I would say javafx produces better eye candy, and the programming model is much better in terms of properties and bindings (not that one can't reimplement a similar framework in swing, but in javafx it is just there).
I feel javafx is still lacking in many areas:
- focus handling is still buggy: one can have multiple nodes having focus and accepting keyboard input
- WebView behavior differs a lot between 8/9/10/11
- mouse subsystem has critical issues on linux
I wish javafx got more support from Oracle, but we know that neither Sun nor Oracle viewed the desktop as high priority. I don't think the situation will change, considering the fact that the majority of development switched to browser-based js.
The biggest issues I've faced:
* On a headless server you can't load any GUI components (mostly my mistakes).
* Android is still effectively Java7. I blame Oracle and Google for this.
I've even recently moved from Java 7 to Java 11 with very little issue.
I'd be interested in people's thoughts about why "new is better"? My own take: you can't sell tools, tutorials, books, conference tickets, etc for something that just works and is well documented with great IDE support.