The JVM comes with an embedded Webkit browser (via the included JavaFX). This lets you code as much as you need/want in HTML/JS/CSS, but also gives you the option of easily interacting with Java, Scala, Clojure, Groovy, Kotlin, Ceylon, Frege, etc. I think this is more powerful than Electron/Chromium.