Wednesday, May 28, 2008

How to invoke an Applet packaged as a JAR?


Question: How do you invoke an Applet packaged as a JAR?


Answer: By including archive attribute to the 'applet' element in the HTML code, which invokes the Applet. This attribute will have the value as the JAR file name containing the Applet class. (...archive="nameOfTheJARFile.jar"...)



Share/Save/Bookmark


No comments: