import java.applet.*;
public class Hello extends Applet {
- public void paint(Graphics g) {
- g.drawString("Hello from SCons signed applet",250,150);
- }
+ static final long serialVersionUID = 0;
+ public void paint(Graphics g)
+ {
+ g.drawString("Hello from SCons signed applet",250,150);
}
-
+}
""")
test.write(['src', 'javah', 'MyID.cc'], """\
""")
test.write(['src', 'javah', 'MyID.java'], """\
-import java.util.*;
-import java.io.IOException;
-import java.lang.reflect.*;
-
public class MyID
{
static private long current = System.currentTimeMillis();
test.write(['src', 'jni', 'A.java'], """\
package web.jni;
-import web.jni.*;
-
public class A
{
class C
test.write(['src', 'server', 'JavaSource', 'com', 'gnu', 'scons', 'web', 'tools', 'StringUtils.java'], """\
package com.gnu.scons.web.tools;
-import java.util.Iterator;
-import java.util.Map;
-
public class StringUtils
{
public static String toPercent( String value )