I have this code:
val url: URL = getClass.getResource(\"com/mysite/main/test.fxml\")
and it always returns null (or Unit
null
Unit
Possibly it's not being copied to the bin/ directory from the src/ directory? This happens on recompilation, but if you drop it into the src/ directory after the program is already compiled, the IDE won't know.