title: Compilation Fails to recognize java.awt.image.DataBufferInt class
body: <p>Can someone please identify for me the error in this line of code?  I amm using eclipse Mars 2.1.  This line is always flagged as the sole error in a short program of mine.  I have tried using both styles of import (i.e. top of the class and inline as below ).  Both result in eclipse flagging the line as an error with a red x (nothing useful by clicking on it ) and when I try to run I get "Exception in thread main java.lang.error: unresolved compilation problem ).  It seems to me its not recognizing the identifier for that class and this prevents it from compiling properly.</p>
  
  <pre><code>private int[] pixels = ((java.awt.image.DataBufferInt))image.getRaster().getDataBuffer().getData());
  </code></pre>