If I had to do a desktop app I’d with Java Swing because of the Java backend libraries and developers. Were I yo ignore those factors I’d go with Gambas for the drag & drop gui.
When were the last time I code in Swing/JavaFX? 4 or 5 years ago, perhaps.
The 3rd party libs available for Delphi/FPC are more than enough for my needs.
For non-GUI apps, sure probably Nim, Rust or Go.