summaryrefslogtreecommitdiff
path: root/tutorial/examples/facemake/Test.java
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/examples/facemake/Test.java')
-rw-r--r--tutorial/examples/facemake/Test.java62
1 files changed, 62 insertions, 0 deletions
diff --git a/tutorial/examples/facemake/Test.java b/tutorial/examples/facemake/Test.java
new file mode 100644
index 0000000..96f738d
--- /dev/null
+++ b/tutorial/examples/facemake/Test.java
@@ -0,0 +1,62 @@
+/*
+ * This code was generated by ojc.
+ */
+package examples.facemake;
+
+
+import java.awt.Panel;
+import java.util.*;
+import java.io.PrintStream;
+
+
+public class Test extends Panel implements examples.facemake.TestFace
+{
+
+ private int iii = 0;
+
+ private Test n = null;
+
+ private String str = "string";
+
+ public Test()
+ {
+ super();
+ }
+
+ /**
+ * @param
+ * @return
+ * @exception
+ * @see java.lang.Object
+ */
+ public static void main( String[] argv )
+ {
+ PrintStream out = System.out;
+ PrintStream error = java.lang.System.err;
+ out.println( "Hello" + " " + "World" );
+ Test n = new Test();
+ java.lang.System.err.println( "done. " );
+ Test test = new Test();
+ test.foo();
+ }
+
+ public Test( String str )
+ {
+ this.str = str;
+ n = null;
+ }
+
+ public int foo()
+ {
+ return iii;
+ }
+
+ public String toString()
+ {
+ if (n == null) {
+ return str;
+ }
+ return str + n;
+ }
+
+}