leonteale

basic java applet

Feb 17th, 2012
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.31 KB | None | 0 0
  1. import java.applet.Applet; // Includes standard Applet classes
  2. import java.awt.*; // Standard Graphics Routines
  3.  
  4. public class Wow extends Applet {
  5.   // Applets use paint instead of main
  6.   public void paint (Graphics page) {
  7.     page.drawString("looks to work to me!", 5, 10);
  8.   } // method paint
  9. } // class Wow
Advertisement
Add Comment
Please, Sign In to add comment