I don't have a Mac handy to check this, but if you change your HTML file, it should work - you are missing the package name for the NightScene.class. The Oracle reference for the APPLET tag is.From that page:CODE = appletFileThis REQUIREDattribute gives the name of the filethat contains the applet's compiledApplet subclass. This file is relativeto the base URL of the applet. Itcannot be absolute. One of CODE orOBJECT must be present. The valueappletFile can be of the formclassname.class or of the formpackagename.classname.class.EDIT: Just in case it's not clear, the directory should be laid out like so: +-top-level/ +-lab051/ +-NightScene.class +-test.html.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |