try { URL u = new URL(this.getCodeBase(), this.getParameter("sound")); this.play(u); } catch (MalformedURLException e) { }