5 ms·
Missing from the list: java swing. Of course, it is missing latest eye candy features like shadows, but otherwise it's rock solid.
by java-man 6y ago
Missing from the list: java swing. Of course, it is missing latest eye candy features like shadows, but otherwise it's rock solid.
- RandyRanderson 6y agoHaving developed in Java for many years now, primarily on Windows for the desktop, Linux for the server side, the occasional MacOS desktop and even Android and Android Wear, I'm very rarely reminded that there are differences in platforms. 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.
- java-man 6y agoIn 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.