Dependency management is simple for Swing. In can mostly be assumed that it is available and works. How many dependencies will an Electron /Webstack based app have?
I really like JetBrains IDEs and I think they are based on Swing.
Although I haven't used it for more than a decade, I still have some fondness for Java. I like Workflowy but am not crazy about it being in the browser. I contemplated writing my own outliner and Java + Swing is one combination I'm thinking about.
The biggest issue with Swing is just bad defaults. Except for NeWS, Sun wasn't really into the desktop business.