This optional attribute specifies the name of the applet. The applet name is used by other programs and applets to reference and communicate with the applet. It is important that you assign each applet a unique name if you are running multiple applets on a page, enabling user preferences, or using the Reflection API.
Also, the value for the name attribute is displayed in the title bar of the session when the applet session is running in a separate window (the frame parameter is set to true) and the title parameter is not specified.
Example
<applet mayscript name="IBM3270" code="com.wrq.rweb.Launcher.class" width="400" height="300"> </applet>