MusicXML is the standard open format for exchanging digital sheet music between notation tools like MuseScore, Sibelius, and Finale. Until now, showing such scores in a Java application meant embedding a WebView and a JavaScript rendering engine, with all the weight and startup cost that brings.
Sheetmusic4J provides two Java libraries: the first 'core' parses and generates MusicXML as typed Java objects, and the second 'fxviewer' renders those scores directly onto a JavaFX Canvas, with no browser engine and no JavaScript bridge. It only needs javafx.graphics, starts fast, and works fully offline.
Newer versions of the library added support for ABC Notation, Guitar Pro,...

Demo application comparing the Sheetmusic4J rendering of a MusicXML score with the reference PDF

Sheetmusic4J rendering live sheet music inside the MelodyMatrix application