Why can’t I create Image objects using JavaFX on IntelliJ when the image files are in a folder
Project Structure
Right now, I think IntelliJ considers the images folder a package once it’s inside src and a directory once its outside src. When I try to give the path to the images folder to create image objects like this: Image im2 = new Image("/images/download (1).png");
it throws an error. This is the stack trace: