Basic HTML version of Foils prepared May 7 1996

Foil 157 Hello World Applet from Sun Tutorial

From MetaComputing -- MRA Meeting Part I:Concepts and Issues Tutorial for CRPC MRA Meeting at Cornell -- May 7 1996. by Mark Baker, Geoffrey Fox


1 This prints in applet window, the classic Hello World string!
2 import java.awt.Graphics
3 public class HelloWorld extends java.applet.Applet
4 {
5 public void init() {
6 }
7 public void paint(Graphics g) {
8 g.drawString("Hello world!", 50, 25);
9 }
10 }

in Table To:


Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Apr 11 1999