hey, im new...so help please? im trying to get my el-lame-o applet to work in my browser....but all i get is a grey box. the applet works when i use appletviewer at the command line. i tried resetting security settings and all that for internet exloder, but it still wont work. my html is as follows: <html> <APPLET code="d:\java\TestApp.class" width=500 height=100> </APPLET> </html> i have the class file in the same directory as the HTML fle. and i have the correct spelling and case for the names..... when i roll my mouse across the grey box theres a message at the bottom of the IE window that says "load: class TestApp not found"
do not use absolute address. since they are in the same directory use code=".....class". I guess it is also browser specific. When the standards are not crystally clear the vendors interpret acc. to their wish.. ciao. c.g.
posted 17 years ago
still does the same thing *scratches head confused* i've tried <APPLET code="TestApp.class" width=500 height=100> <APPLET code=TestApp.class width=500 height=100> <APPLET code=TestApp width=500 height=100> .. i dont get it