The folder(PNG) containing the image is on the left side of the uploaded image,to show the folder is in the same location as class.I get the error message when starting the application and my fxml is not loading because of loadimages() function in main.
I am sorry for screenshots. Thought it might be easy to understand my problem with the help of images.
I get run time error from main when I retrieve the image, Whereas it loads the image properly in when I use tags and same location. Am i missing anything?
Caused by: java.lang.IllegalArgumentException: Invalid URL: Invalid URL or resource not found
I saved my PNG File in sample folder,
And used that PNG file in image tag and tried to display it and worked fine.
But when I try to map it to a string in main,It shows error.
Can anybody please verify it.
I have uploaded the image to show my PNG Folder
There are n activities given with their start and finish times. We have to Select the maximum number of activities that can be performed by a single person, assuming that a person can only work on a single activity at a time.