I've got an applet talking to another applet on the same web page, with the code in the same directory.
I retrieve an Enumeration of all the applets on the page and need to call methods on it if it is of a certain type.
The problem is that I've been unable to cast the applet to the appropriate subclass.
Consider:
Incidentally, someApplet.getName() does not return the HTML parameter set on the web page, as the javadocs suggest. Instead, it returns things like panel0, panel1, panel2.
Any ideas as to why the Class Name would be correct but a cast would fail?
I didn't write foo.Bar, might there be something internal that is giving me trouble?
TIA,
Joe