1 |
First add collaboratory functionality to the previous class
-
call send(byte[ ]) when Return pressed
-
if ((evt.target == text) && (evt.id == Event.ACTION_EVENT ))
-
send(stringToBytes(text.getText()));
-
define method receive(byte[] b) when data arrives
-
text.setText(bytesToString(b));
|
2 |
Embed the applet in an HTML page
-
<applet codebase="." archive="tm.jar,JExamp.class" code="JExamp.class" width=280 height=33 mayscript>
-
</applet>
|
3 |
Register the page in a TANGO Control Application
|