I've just started with copying code from the course "How to create your own minesweeper etc" but when I marked the res directory as Resources Boot, the "img" directory just stayed a common directory and not changed to a folder like the "sweeper" package (but in the video course that's happened). Hence I have the exception of the non-existing path and still wondering how to create path to the images.
Sry in advance if you've found here some comlitricated English 'cause it's my first message to the abroad (not quite sure that's a correct sentence).
Please use copy'n'paste to post the text of your exception stack trace; I can't read the screenshot. Please post the code you are using to open the img directory, and more details of the exact location on the img directory.
OK, sorry. Your post had been mistakenly moved to the Android forum.
For a standard Java desktop app you would usually want to keep resource files in the application classpath and if you're creating an executable JAR, that means copying the source images unto a directory in the JAR that you are building.
The terms "directory" and "folder" are generally interchangeable in operating system terms. I suspect what you really mean is that you are using some sort of IDE like NetBeans, IntelliJ or Eclipse, which can use a different icon to indicate folders that the IDE considers to be special, such as the source code folder.
We're going to have to have more information about what you are using to edit and build your project if that is the case.
Sources may include data from the Fakebook Research Foundation with support from Gargle University