-
Bug
-
Resolution: Duplicate
-
P4
-
8
-
None
Download attached “Relative-Graphic-Test.zip”
Inside you will find “graphic-test.fxml”. Open this FXML in a text editor and you will see that the path to the image is relative:
<image>
<Image url="@HomeRemoteLogo.png" preserveRatio="true" smooth="true" />
</image>
However, when you open the FXML in SB2.0 there are a couple of issues:
1. The path is displayed as an absolute path in the Inspector
2. A warning Tooltip is shown in the Hierarchy.
Inside you will find “graphic-test.fxml”. Open this FXML in a text editor and you will see that the path to the image is relative:
<image>
<Image url="@HomeRemoteLogo.png" preserveRatio="true" smooth="true" />
</image>
However, when you open the FXML in SB2.0 there are a couple of issues:
1. The path is displayed as an absolute path in the Inspector
2. A warning Tooltip is shown in the Hierarchy.
- duplicates
-
JDK-8098397 Resource path handling (Foundation)
-
- Resolved
-