HelloWorldApplet - public void paint(Graphics g) {

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
import java.awt.*; import java.applet.*; i public class HelloWorldApplet extends Applet { p // An applet that simply displays the string Hello World!
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: public void paint(Graphics g) { g.drawString("Hello World!", 10, 30); } } // end of class HelloWorldApplet...
View Full Document

This note was uploaded on 01/15/2010 for the course CSC 115 taught by Professor Jackson during the Spring '09 term at University of Victoria.

Ask a homework question - tutors are online