I have a Applet that compiles error free.
It has...
But when i put it in an Application like above I get following error:Code:import java.awt.*; ' ' ' void some_method(Graphics g) { ' ' g.drawImage(offscreenImg, 0, -60, this); ' ' } ' '
error J0078: Class 'Graphics' doesn't have a method that matches 'drawImage(Image, int, int, MyJavaApp)
What am I missing in the Application?




Reply With Quote