create a simple java applet that shows the use of FlowLayout to arrange the component at the center of the window

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

public class FltCenter extends Applet{

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

    }

}