I can tell you that writing Java GUI applications is hell. You have the following libraries:
AWT - still actually under-pining the others, but very ugly to work with
Swing - basically runs on top of AWT, with the same design model, plays badly with it. Is hard to write in a testable way, is prone to embedding business logic in UI components
JavaFX - all the worst parts of business Java with all the worst parts of XML and also the worst parts of a game engine. Now you need to care about 'adding a scene to a stage'.
The principle core technology that made Java good was applets. Since they were killed by mobile, the reason for delivering a Java app is functionally zero. You will need to ship a JVM which you need to update alongside your app.
Java is a great back-end development language and a really poor GUI language.
These days you should either ship an Electron app or native code.