summaryrefslogtreecommitdiffstats
path: root/Master/Reference Architectures and Patterns/hjp5/examples/Listing3901.java
diff options
context:
space:
mode:
Diffstat (limited to 'Master/Reference Architectures and Patterns/hjp5/examples/Listing3901.java')
-rw-r--r--Master/Reference Architectures and Patterns/hjp5/examples/Listing3901.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/Reference Architectures and Patterns/hjp5/examples/Listing3901.java b/Master/Reference Architectures and Patterns/hjp5/examples/Listing3901.java
new file mode 100644
index 0000000..d10553b
--- /dev/null
+++ b/Master/Reference Architectures and Patterns/hjp5/examples/Listing3901.java
@@ -0,0 +1,14 @@
+/* Listing3901.java */
+
+import java.awt.*;
+import java.applet.*;
+
+public class Listing3901
+extends Applet
+{
+ public void paint(Graphics g)
+ {
+ showStatus("Hello, world");
+ g.drawString("Hello, world",10,50);
+ }
+} \ No newline at end of file