How to get images from a specific directory in java
ClassLoader/Class's getResource/getResourceAsStream is to get resources from CLASSPATH.
You can create a new resources directory under the eclipse project, put the images folder in this directory, and then add the resources to the Build Path.