code: public static Image getImageFromResources(Class<?> clazz, String name) throws IOException {
  		return getImageFromResources(clazz, name, Toolkit.getDefaultToolkit());
  	}
docs: Loads an image from a resource using the default toolkit.