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

Popular posts from this blog

javascript - Complete OpenIDConnect auth when requesting via Ajax -

apache - PHP Soap issue while content length is larger -

c# - Replace text in MailItem Body -