create a simple java applet that shows the use of GridLayout to arrange the Button

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

public class Gdl extends Applet{

    public void init(){
        setLayout(new GridLayout(4,4));
        //setFont(new Font("SansSerif", Font.BOLD, 24));
        //U can use this line  to set font
        for(int i=1;i<5;i++)
        for(int j=0;j<4;j++)

        add(new Button(" "+i));

    }

}