<html> |
<applet name=hello |
code=Hello.class |
width=200 height=100> |
</applet> |
<form > |
<input name="In" type=text size=35> |
<input type=button value="Set" |
onclick="document.hello.setString(form.In.value)"> |
<br> |
<input name="Out" type=text size=35> |
<input type=button value="Get" |
onclick="form.Out.value=document.hello.getString()"> |
</form> |
</html> |