I got this error when I copied javafx.graphics.jar to a new project but didn't also copy all of the dlls in the bin directory of the JavaFX SDK.