title: how do you add images to the project directory in eclipse?
body: <p>I have a program that runs and doesnt throw a runtime error in eclipse which should set up an image to a JButton at the end of the program as the result but the image is never put on to the button. The program worked fine in DrJava but I transferred to eclipse in order to make a jar file. </p>
  
  <p>I saw in another question posted that someone had a similar problem that said the images should be put into the project directory not the src directory but it didnt explain how to actually fix the problem... im new to eclipse so if someone could help me out id appreciate it thanks. </p>
  
  <p>here is how the images are set up in my code:</p>
  
  <pre><code>public void tempSelection70 (int fRate, int wbTemp, int rcTons, int a, int r)
    {
      for (int model = 0; model &lt; 7; model++)
      {
        MyArray y = new MyArray(tons70FCharts[model], "t");
        int[][] x = y.getArray();
        int t = x[a][r];
        if (rcTons == t)
        {
          tableButton = new JButton(new ImageIcon(tablesFor70[model], tablesFor70[model]));
          break;
        }
        else 
        {
          tableButton = new JButton(new ImageIcon("CANNOT_FIND_MODEL.GIF", "SCROLL"));
        }
      }
      for (int model = 0; model &lt; 7; model++)
      {
        MyArray y = new MyArray(flow70FCharts[model], "f");
        int[][] x = y.getArray();
        int t = x[a][r];
        if (fRate == t)
        {
          tableButton = new JButton(new ImageIcon(tablesFor70[model], tablesFor70[model]));
          break;
        }
        else 
        {
          tableButton = new JButton(new ImageIcon("CANNOT_FIND_MODEL.GIF", "SCROLL"));
        }
      }
    }
  </code></pre>