I don't remember Java being any more lightweight than Electron. Both are super heavy, easily recognizable (because of there non-native nature and general subpar performance), have giant binaries/payloads. Especially Swing. Noone has ever complimented IntelliJ on its responsiveness... (IntelliJ is great nonetheless)