import javax.swing.JApplet;
import java.awt.Graphics;
 
public class Hello extends JApplet {
 
       public void paint(Graphics g) {(
        g.drawString(65, 95).getNotification().getString());
    }
 
}

Create nf.java