new ImageData(irate.resources.Resources.getResourceAsStream("icon.gif"));
new ImageData(irate.resources.BaseResources.getResourceAsStream("icon.gif"));
  public void createShell() {    shell = new Shell(display);    shell.setText(getResourceString("titlebar.program_name"));    try {      ImageData icon =        new ImageData(irate.resources.Resources.getResourceAsStream("icon.gif"));      int whitePixel = icon.palette.getPixel(new RGB(255, 255, 255));      icon.transparentPixel = whitePixel;      shell.setImage(new Image(display, icon));    }    catch (Exception e) {      e.printStackTrace();    }    shell.addShellListener(new ShellAdapter() {      public void shellClosed(ShellEvent e) {        quit();      }    });    //probly should use filllayout..but i dont wanna figure it out    //gridlayout is overkill for this    GridLayout layout = new GridLayout(3, false);    layout.horizontalSpacing = 0;    // Set the layout into the composite.    shell.setLayout(layout);  }