import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.event.*;

public class MegasenaVisual extends JFrame implements ActionListener
{
		JButton bt_Numeros [] = new JButton [60];
		JPanel Painel_Numeros; 
		int Indice  = 0; 
		public MegasenaVisual()
		{
				getContentPane().setLayout(new BorderLayout());
				getContentPane().add(Painel_Numeros = new JPanel(new GridLayout(10,6)) );
				while(Indice < 60)
				{
						String x = ""+Indice;
						Painel_Numeros.add(bt_Numeros[Indice] = new JButton (""+Indice));
						
 						Indice++;
				}	
			
				
				pack();
				setVisible(true); 
		}	
		public void Metodo_Organiza_Botoes(int x, JButton bt_Num[])
		{
	
			
		}
		public void actionPerformed (ActionEvent e)
		{
			
		}
		public static void main (String args [])
		{
				new MegasenaVisual(); 
		}		
} 