0
我在FXML下面的图片:在FXML ImageView中加载图像?
<ImageView>
<image>
<Image url="@/Icons/myImage.png" />
</image>
</ImageView>
我的XML文件中:
src/Core/View
我,另一方面图标里面:
src/Core/View/Icons
我为什么获取错误无效资源...在类路径中找不到?林不知道我做错了什么或如何使路径工作。
忽略开头的'/','即@图标/ myImage.png' –