Not sure how to do it with SWT, but images are normally bundled with a Java application as resources in a jar file:
Creating a JAR File (The Java™ Tutorials > Deployment > Packaging Programs in JAR...