Sir/Madam: My applet file is Cal.class, and it uses several other class files and a data file in the cc.jar file. When I open the html file, the applet pops up, I can see the textfields, radiobuttons, but the functions do not work. Is there anything wrong with my html code?
The code is like this <HEAD> <TITLE>Cal</TITLE> </HEAD> <BODY> <H1>Cal</H1> <APPLET CODE=Cal.class ARCHIVE=cc.jar WIDTH=450 HEIGHT=550> </APPLET> </BODY> </HTML>
Joined: Jan 09, 2001
Hi Jordan, Object functionality is not related to HTML. Once your applet appears the HTML is complete and your applet java classes take over. Therefore, the fault lies in your java applet code. When the applet has loaded into your browser, look at the Java console and see if any errors are happening. If none are then make sure you have at least registered some listeners and that the methods are actually being called (usually placing a System.out.println call at the beginning of the methds works great). Regards, Manfred.