Java- there was an error trying to open an image
已回答
Hi guys,
I'm having a very difficult time with what probably seems like an easy fix. I created a new class and called a method that opens a file. However, when the method attempts to find the file, which is in another folder titled "images". They're all in the src folder, so when I attempt to run it, it returns an error message, "There was an error trying to open ____.jpg. I'm on a Mac, and this is the error message it returns. Any solutions?

请先登录再写评论。
Try debugging the program to understand what actually happens.