try { URL u = new URL(this.getCodeBase(), this.getParameter("IMAGE")); this.picture = this.getImage(u); System.err.println(u); } catch (MalformedURLException e) { // shouldn't happen, the code base is never malformed }
g.drawImage(this.picture, 0, 0, this);