I am trying to build an
applet. In the applet I add a control that I`ve written by having a seperate class that extends Canvas. Anybody know why this line will work in an Applet but not a class?
URL imgURL = null;
imgURL = new URL(getDocumentBase(), "bean.gif");
During compilation, I get a `cannot resolve symbol`
`symbol : method getDocumentBase ()