// Html Code to Display Applet |
String htmlString=new String(htmlFile); |
/* String(htmlFile) must include the following This would allow the applet at the client side to interact with the module, by opening a socket connection since you pass the hostname and port number to the applet as parameters |
CODE = "webflow.modules.demo.atest.InAp.class" //where //the applet resides WIDTH=300 HEIGHT=300 //dimensions PARAM Name=Host VALUE= hostName; PARAM NAME = portnum VALUE String.valueOf(portNumber); */ mm.setHTML(htmlString); //stores the html file in the //MetaModule object return(mm); //returns the MetaModule object } |