new ImageData(irate.resources.BaseResources.getResourceAsStream("icon.gif"));
new ImageData(irate.resources.BaseResources.getResourceAsStream("icon.png"));
  public static ImageData getIconImageData() throws IOException {    if (iconImageData == null)      iconImageData =        new ImageData(irate.resources.BaseResources.getResourceAsStream("icon.gif"));    return iconImageData;  }