html and jar file?

jordan gong

Ranch Hand

Posts: 37

posted 14 years ago

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?

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.