Add this files

git-svn-id: svn://10.0.0.236/trunk@46266 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
idk%eng.sun.com
1999-09-08 00:21:03 +00:00
parent f8078c4c9a
commit f363d1453d
31 changed files with 1548 additions and 196 deletions

View File

@@ -55,6 +55,16 @@ class TestInstance implements PlugletInstance{
public void initialize(PlugletInstancePeer peer) {
org.mozilla.util.Debug.print("--TestInstance.initialize\n");
peer.showStatus("Hello world");
try {
OutputStreamWriter out = new OutputStreamWriter(peer.newStream("text/plain","test"));
String msg = "Hello, world";
out.write(msg,0,msg.length());
out.flush();
out.close();
} catch (Exception e) {
;
}
}
/**
* Called to instruct the pluglet instance to start. This will be called after