public static ImageIcon getImageIcon(final String imagePath, final Component component) {
    return new ImageIcon(getImage(imagePath, component));
  }
Utility class to load images from BinDiff package resources.
java/ui/src/main/java/com/google/security/zynamics/bindiff/utils/ResourceUtils.java