OK, two things. The first seems to be that you are using the wrong name for the class in the APPLET tag. You say:
<APPLET name = array code=JSObject.class MAYSCRIPT>
but there is no JSObject.class listed in your java. This should probably be:
<APPLET name=array code=array.class MAYSCRIPT>
The "name" attribute of the APPLET tag is only for use by JavaScript so it can tell which applet is which; the "code" attribute is the one which determines which Java class to use.
The second point is that you seem to be unaware of how to get JavaScript to give you more information. When it says type 'javascript:' into location for details" you should click in the location bar at the top of the browser (where it says
http://www....), replace whats there with the special keyword "javascript:" (don't forget the colon ':'), and press RETURN. This tells the browser to bring up the JavaScript console, which gives information about Javascript errors. You should see more information about your problem.