java - How to load an image to an applet? -
i want load image applet keep getting nullpointerexception whenever run program. here code using load image. please help.
img = getimage(getdocumentbase(), getparameter("questionmark2.jpg")); g.drawimage(img, 100, 100, this);
Comments
Post a Comment