r/java • • Jan 01 '20

Java on the Desktop

https://www.youtube.com/watch?v=M1NszZ_K2yk&t=0s
110 Upvotes

40 comments sorted by

View all comments

55

u/jpl75 Jan 01 '20

I like Java on desktop. It's still far better for cross-platform UIs than many other alternatives, particularly anything browser-based like Electron.

14

u/[deleted] Jan 01 '20

I thought this talk was really good. Gerrit talks about the pros and the cons of the current environment. And he is honest about the cons.

12

u/BlueGoliath Jan 01 '20

TableView deserved its own con slide. Sure it's great that the control exists but... TableView.... yeah.

10

u/calumbria Jan 01 '20

JavaFX can do a lot, but if you really want a nice UI, it is hard to beat web tech. I made the mistake of building a point-and-click game in Java. While it worked, it would have been easier with a different technology. I'll admit that JavaFX is absolutely fine for a professional productivity application.

27

u/jpl75 Jan 01 '20

I tend to disagree. The browser is a not an ideal platform for stand-alone applications. The stability is lacking, the resource consumption is unbearable especially when multiple applications are running, the user experience with tabs and the process/concurrencyy/memory model in my opinion is clumsy and difficult to manage.

This is quite understandable given the original design and goals of web browsers were quite different; they were not seen as application platforms. And in my opinion not nearly sufficient work has gone into the browser engines to push them to match what alternative desktop frameworks can do.

0

u/[deleted] Jan 01 '20

[deleted]

4

u/calumbria Jan 01 '20

Yes but many features missing. This was around 2018.