title: Java Grect And Private Static ERROR
body: <p>This is code:    </p>
  
  <pre><code>    package main;
  
  import java.awt.*;
  import acm.graphics.*;
  import acm.program.*;
  
  public class AjorBandi extends GraphicsProgram{
  
  public void run(){
      private static final BRICK_TOOL=30 ;
      private static final BRICK_ARZ = 10;
      int x,y;
      x=0;
      y=100;
      for(int ii=0;ii&lt;14;ii++){
      for(int i= 0;i&lt;14;i++){
          Grect rect = new Grect(x,y,BRICK_TOOL,BRICK_ARZ);
          add(rect);
          x+=30;
          i-=1;       
  
  
      }
      y+=10;
      x+=15;
  
  
      }
  
  }
  </code></pre>
  
  <p>}</p>
  
  <p>This is Grect error messages from eclipse:    </p>
  
  <pre><code>    Multiple markers at this line
  - Grect cannot be resolved to a 
   type
  - Grect cannot be resolved to a 
   type
  </code></pre>
  
  <p>This is     <code>private static</code>     error messages:    </p>
  
  <pre><code>    Multiple markers at this line
  - Line breakpoint:AjorBandi [line: 10] - run()
  - Syntax error on token "final", float expected
  - Illegal modifier for parameter BRICK_TOOL; only final is 
   permitted
  </code></pre>
  
  <p>I have compile error with this i eclipse IDE.
  What is the problem of this 2 errors?</p>