Search This Blog

Wednesday 28 October 2015

PROGRAM TO CREATE AND DISPLAY YOUR NAME ON SCREEN WITH APPLET

import java.awt.*;
import java.applet.*;
/*
<applet code="Display.class" width=600 height=400 />
*/
public class Display extends Applet {
            public void init() {
                        setBackground(Color.white);
                        setFont(new Font("Dialog",Font.BOLD,30));
            }
            public void paint(Graphics g) {
                        g.drawString("YOGI DADA SHINDE",100,100);
            }

}

1 comment:


  1. Greatful the work..many many important this post.Helpful post for us.Very Important this article.Thanks for sharing article.This post is very important for us. This post is support us . Thanks you writter Sell your house quickly kansas city

    ReplyDelete