I have a Applet that compiles error free.

It has...
Code:
import java.awt.*;
  '
  '
  '
void some_method(Graphics g)
{
  '
  '
 g.drawImage(offscreenImg, 0, -60, this); 
  '
  '
}
  '
  '
But when i put it in an Application like above I get following error:

error J0078: Class 'Graphics' doesn't have a method that matches 'drawImage(Image, int, int, MyJavaApp)

What am I missing in the Application?