import javax.swing.*;
import java.awt.*;
import javax.swing.event.*;
import java.awt.event.*;

public class tela4 extends JFrame implements ActionListener{

	JPanel Painel_central;
	JPanel Painel_sul;
 	JPanel Painel_central1,Painel_central2,Painel_central3;
	JPanel Painel_central4,Painel_central5,Painel_central6;
	JPanel Painel_central7,Painel_central8;
	JPanel Painel_sul3,Painel_sul4,Painel_sul5;
	JButton bt_fechar,bt_reiniciar;
	
	public tela4()
	{
		getContentPanel().setLaypout(new GridLayout(3,3));
		getContentPanel().add (Painel = new JPanel ());
		Painel_center.add(Painel left1 =new JPanel(new FlowLayout(FlowLayout.Left)));
		Painel_center.add(Painel left6 =new JPanel(new FlowLayout(FlowLayout.Left)));
		Painel_center.add(Painel left8 =new JPanel(new FlowLayout(FlowLayout.Left)));

		getContentPanel().setLaypout(new GridLayout(3,3));
		getContentPanel().add (Painel = new JPanel ());
		Painel_center.add(Painel center2 =new JPanel(new FlowLayout(FlowLayout.Center)));
		Painel_center.add(Painel center5 =new JPanel(new FlowLayout(FlowLayout.Center)));

		getContentPanel().setLaypout(new GridLayout(3,3));
		getContentPanel().add (Painel = new JPanel ());
		Painel_center.add(Painel right3 =new JPanel(new FlowLayout(FlowLayout.Right)));
		Painel_center.add(Painel rigrt4 =new JPanel(new FlowLayout(FlowLayout.Right)));
		Painel_center.add(Painel rigrt7 =new JPanel(new FlowLayout(FlowLayout.Right)));

		getContentPanel().add("South", Painel_Sul= new JPanel(new FlowLayout(FlowLayout.South)));
    	Painel_Sul.add(bt_fechar = new JButton ("fechar"));
    	Painel_Sul.add(bt_reiniciar = new JButton ("reiniciar"));
    	bt_fechar.addActionListener(this);
		bt_reiniciar.addActionListener(this);

		setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
    		//setResizable(false);

    		setTitle("tela4");
    		pack();
    		setVisible(true);
    }
    public static void main (String args [])
    {

    		new tela4 ();
    }
    public void actionPerformed(ActionEvent e)
    {




    }
		
		


	