ActionListener

Oi pessoal!!
Estou com um problema, estou tentando fazer um evento para implementar no banco de dados, mas o meu problema ta no ActionListener…
O meu Evento ta sublinhado acusando erro.
Tem algo errado nesse codigo?

package Modelo;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.ParseException;

import javax.swing.BorderFactory;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFormattedTextField;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JTextField;
import javax.swing.text.MaskFormatter;

import Banco.Conect;

public class CadastroCliente extends JFrame{
	JLabel nome = new JLabel("NOME");
	JLabel nasc = new JLabel("DATA DE NASCIMENTO"); // Rotulos!
	JLabel tel = new JLabel("TELEFONE");
	JLabel email = new JLabel("E-MAIL");
	JLabel endereco = new JLabel("ENDEREÇO");
	JLabel bairro = new JLabel("BAIRRO");
	JLabel aviso = new JLabel("OBS. O CAMPO DO CPF É OBRIGATORIO!");
	
	JLabel cidade = new JLabel("CIDADE");
	JLabel estado = new JLabel("ESTADO");
	JLabel pais = new JLabel("PAIS");
	JLabel cep = new JLabel("CEP");
	JLabel cpf = new JLabel("CPF");
             
	
	JTextField jnome = new JTextField();
	JTextField jnasc;              // Textfield com mascara.
	JTextField jtel;
	JTextField jemail = new JTextField(); // Caixas de texto!
	JTextField jendereco = new JTextField();
	JTextField jbairro = new JTextField();
	JTextField jcidade = new JTextField();
	JTextField jestado = new JTextField();
	JTextField jpais = new JTextField();
	JTextField jcep = new JTextField();
	JTextField jcpf = new JTextField();
	
	JButton ok = new JButton("CADASTRA");
	JButton cancela = new JButton("CANCELA");
	
	MaskFormatter mnasc , mtel; // Mascara.
	
	JRadioButton jb1 =new JRadioButton("MASCULINO");
	JRadioButton jb2 =new JRadioButton("FEMININO");
	ButtonGroup grupo = new ButtonGroup();
	
	
	private JFormattedTextField mn;
	
	public CadastroCliente(){
		setLayout(null);
		setVisible(true);
		setSize(600,335);
		setResizable(false);
        
		
		getContentPane().add(nome);
		getContentPane().add(nasc);
		getContentPane().add(tel);
		getContentPane().add(email);
		getContentPane().add(endereco);
		getContentPane().add(cidade);
		getContentPane().add(estado);
		getContentPane().add(pais);
		getContentPane().add(cep);
		getContentPane().add(cpf);
		getContentPane().add(jnome);
		getContentPane().add(bairro);
		getContentPane().add(jbairro);
	    getContentPane().add(aviso);
		
		getContentPane().add(jemail);
		getContentPane().add(jendereco);
		getContentPane().add(jcidade);
		getContentPane().add(jestado);
		getContentPane().add(jpais);
		getContentPane().add(jcep);
		getContentPane().add(jcpf);
		
		nome.setSize(80, 20);
		nome.setLocation(10, 20);
		
		jnome.setSize(300, 20);
		jnome.setLocation(50,20);
		
		nasc.setSize(150,40);
		nasc.setLocation(355,10 );

		aviso.setSize(300,20);
		aviso.setLocation(280,280);
		
		tel.setSize(80,20);
		tel.setLocation(10,60);
		
		
		
		email.setSize(100,20);
		email.setLocation(250,60);
		
		jemail.setSize(280, 20);
		jemail.setLocation(300,60);
		
		endereco.setSize(100, 20);
        endereco.setLocation(10,100);
        
        jendereco.setSize(500,20);
        jendereco.setLocation(80,100);   	
        
        bairro.setSize(100,20);
        bairro.setLocation(10,140);
        
       jbairro.setSize(250,20);
        jbairro.setLocation(60,140);
        
        cidade.setSize(100,20);
        cidade.setLocation(320,140);
        
        jcidade.setSize(210,20);
        jcidade.setLocation(370,140);
        
		estado.setSize(100,20);
		estado.setLocation(10,170);
		
		jestado.setSize(240,20);
		jestado.setLocation(70,170);
		
		pais.setSize(100,20);
		pais.setLocation(330,170);
        
		jpais.setSize(210,20);
		jpais.setLocation(370,170);
        
		cpf.setSize(40,20);
		cpf.setLocation(10,200);
		
		jcpf.setSize(150,20);
		jcpf.setLocation(40,200);
        
		
		getContentPane().add(ok);
		getContentPane().add(cancela);
		
		
		ok.setSize(150,40);
		ok.setLocation(200,220);
		
		cancela.setSize(210,40);
		cancela.setLocation(370,220);
		
		
		JPanel p = new JPanel();
		grupo.add(jb1);
		grupo.add(jb2);
		p.setBorder(BorderFactory.createEtchedBorder());
		p.setBounds(10, 230, 100,70 );
		p.add(jb1);
		p.add(jb2);
		
		getContentPane().add(p);
		
		
		
		try {
			mnasc = new MaskFormatter("##/##/####");
			mtel = new MaskFormatter("(##) #### - ####");
		} catch (ParseException e) {
			System.out.println("Erro na mascra");
			e.printStackTrace();
		}
		
		mnasc.setPlaceholder("");
		jnasc = new JFormattedTextField(mnasc);
		getContentPane().add(jnasc);
		jnasc.setSize(80,20);
		jnasc.setLocation(500,20);
		jnasc.setVisible(true);
		
		
		mtel.setPlaceholder("");
		jtel = new JFormattedTextField(mtel);
		getContentPane().add(jtel);
		jtel.setSize(150,20);
		jtel.setLocation(70,60);
        jtel.setVisible(true);	
		
        
	} //  aqui ta o meu problema onde ta  "Evento" ta sublinhado marcado erro.

	class Evento implements ActionListener{ 
		public void ActionPerformed(ActionEvent e){
			if (e.getSource() == ok ){
				Conect c;
				c = new Conect();
				c.inclui(Integer.parseInt(jcpf.getText()),jnome.getText(), jendereco.getText(), jnasc.getText(), jtel.getText(), jemail.getText(), jbairro.getText(), 
						jcidade.getText(),jestado.getText(), jpais.getText(),"rodi");
				
				
			}
		}
	}

}

Que erro que dá?

Uma dica, tenta dividir teu código, 170 linhas para um construtor tá “meio” grande.

Sem o erro fica difícil ^^

Quando eu vou compilar da" proceed with lunch".
mas roda normal e quando eu vou encima de Evento pra ver oq é da um mensagem assim.
“The type CadastroCliente.Evento must implement the inherited abstract method
ActionListener.actionPerformed(ActionEvent)” .

mas a unica coisa q fica sublinhado é o Evento.

class [color=red]Evento[/color] implements ActionListener{

Obrigado pela força pessoa.

Olá o erro está aqui:

# class Evento implements ActionListener{   
#         public void ActionPerformed(ActionEvent e){  
#             if (e.getSource() == ok ){  
#                 Conect c;  
#                 c = new Conect();  
#                 c.inclui(Integer.parseInt(jcpf.getText()),jnome.getText(), jendereco.getText(), jnasc.getText(), jtel.getText(), jemail.getText(), jbairro.getText(),   
#                         jcidade.getText(),jestado.getText(), jpais.getText(),"rodi");  
#                   
#                   
#             }  
#         }  
#     }  
#   
# }  

O método que esta sendo implementado public void ActionPerformed(ActionEvent e) tá com letra maiúscula, e o método que a interface ActionListener pede é minúsculo, tente asim:

  public void actionPerformed(ActionEvent e)

Att

Bah consegui agora… vc tava certo era esse o problema mesmo…
Muito obrigado danielbussade…
Eu tava pensando e nah achava a solução.