import java.awt.*;
import java.util.*;
import java.applet.*;


public class date_applet extends Applet
{
    public void paint(Graphics g) {
        Date date = new Date();

        g.setFont(new Font("Serif", Font.BOLD, 24));
        g.setColor(Color.blue);
        g.drawString("Hello Applet!!", 20, 50);
        g.setColor(Color.red);
        g.drawString("Time is "+date, 20, 100);
    }
}