1 | // Html Code to Display Applet |
2 | String htmlString=new String(htmlFile); |
3 | /* 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 |
4 | 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 } |