seawood%netscape.com b05ff2a954 Re-adding MRJ for camino.
git-svn-id: svn://10.0.0.236/trunk@143574 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 05:11:59 +00:00

36 lines
490 B
HTML

<HTML>
<HEAD>
<TITLE>Testing LiveConnect</TITLE>
</HEAD>
<SCRIPT LANGUAGE="JavaScript">
var System = java.lang.System;
var StringPtr = Packages.com.apple.MacOS.StringPtr;
function writeln(text)
{
document.write("<P>", text, "</P>");
}
function println(text)
{
var pstr = new StringPtr(text);
pstr.DebugStr();
// System.out.println(text);
writeln(text);
}
function helloWorld()
{
println("hello Gecko.");
}
helloWorld();
</SCRIPT>
<BODY onload="helloWorld();">
</BODY>
</HTML>