home *** CD-ROM | disk | FTP | other *** search
/ Java by Example / jbecd.bin / JBE-CD / NTUsers / JBECODE.ZIP / JavaByExample / chap06 / Applet1.java < prev    next >
Text File  |  1996-01-30  |  188b  |  11 lines

  1. import java.awt.*;
  2. import java.applet.*;
  3.  
  4. public class Applet1 extends Applet
  5. {
  6.     public void paint(Graphics g)
  7.     {
  8.         g.drawString("Hello from Java!", 60, 75);
  9.     }
  10. }
  11.