Skip to content

Instantly share code, notes, and snippets.

@maknoll
Created March 28, 2012 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maknoll/2228251 to your computer and use it in GitHub Desktop.
Save maknoll/2228251 to your computer and use it in GitHub Desktop.
import java.awt.Graphics;
public class HelloWorld extends javax.swing.JApplet {
public void paint(Graphics g) {
for (int i = 0; i < 5; i++) {
g.drawString("Hello World", 5, 25 + (25 * i));
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment