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

0

u/Capa-riccia Jan 04 '20

I think anyone still considering Java on the desktop should carefully read in what mess TomTom has put itself with its application, which is basically a rom update downloader with a terrible user interface. Which needs a 1.8 JDK on a platform which does not encourage Java and a supplier that is discouraging the use of this version.

This is the horror story in its full development

https://discussions.tomtom.com/en/discussion/comment/1680884

I am using a few Java applications on my desktop: SoapUI, MActor and Idea. The only one with a decent user experience is the IDE. Little surprise, of course: who would develop in a language with a terrible IDE?

The vast majority of applications I have run into, have something in common, that I call "write once, be foreign everywhere". The only cross platform apps I have used, that I really enjoyed using, are made with Electron.

Electron, however, imposes a lot of limitations, since you need a bridge for every native feature you want to use.

I think that Swing was wrong and doomed to fail from day one.

I never investigated JavaFX, but it is not part of OpenJDK, so I would not bet on it.

1

u/_jk_ Jan 06 '20

I never investigated JavaFX, but it is not part of OpenJDK

there is a separate OpenJFX project, also only just started using it myself but jlink should fix the JDK issues

1

u/Capa-riccia Jan 07 '20

Yes, this means that even more attention should go in the deployment process.

I like the concept of JavaFX, as much as I like XAML on Windows: a declarative user interface specification and easily configurable look. I like JavaFX as much as I considered Swing wrong from day one.

I found it disappointing that it had to go on a separate path from OpenJDK.