Adding a photo to my java game -


i can't add photo java game have used lots of ways none work 1 told use:

import java.awt.image;  import javax.swing.imageicon;  public class backgrownd {      static imageicon background = new imageicon(backgrownd.class.getresource("/page/src/me/masonhall/page/res/background.png"));      public static image getbk(){         return background.getimage();      } } 

so can 1 me please!!!

i answer questions me.


Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -