reset password
Author Message
Posts: 5
Posted 15:28 Nov 07, 2018 |

I am having issues with retrieving the images. At the moment I am using an absolute path which works for me but I know that it will not work on a different computer. What can we use to retrieve those images without using an absolute path?

Posts: 5
Posted 15:47 Nov 07, 2018 |

Copy his example of the image with his American flag and see if you can get the image from their and if you can’t then you can fix your problem from there

Posts: 540
Posted 16:12 Nov 07, 2018 |

Create the folder for the resources in the src folder of your project.  Remember that the relative path for resources in JavaFX is relative to the src folder NOT the project folder.