Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. import javax.swing.JApplet;
  2. import java.awt.Graphics;
  3. import java.awt.Graphics2D;
  4.  
  5. public class HelloWorld4 extends JApplet
  6. {
  7.     public void paint(Graphics g)
  8.     {
  9.         Graphics2D g2 = (Graphics2D) g;
  10.         g2.drawString("Hello, Dave!!!",50,100);
  11.     }
  12. }