Calling this.getClass().getResource(...) could give results other than expected if this class is extended by a class in another package.
this.getClass().getResource(...)