Problemas com eventos.. de botao

OLa estou com problemas no seguinte codigo estou começando programa e Java (MVC)
e DOIS arquivos

ESTE É PRIEMIRO ARQUIVO A TELA…
import javax.swing.;
import javax.swing.JInternalFrame;
import java.awt.
;
import java.awt.event.ActionListener;

/**
*

  • @author Horibe
    */
    public class GuiCadForn extends JInternalFrame {
    private JLabel lRazaoForn;
    private JLabel lCnpjForn;
    private JLabel lEndForn;
    private JLabel lEmailForn;
    private JLabel lTelForn;
    private JLabel lNomeVendedor;
    private JLabel lTelVendedor;
    private JLabel lCidadeForn;
    private JLabel lCepForn;
    private JLabel lUfForn;
    private JLabel lDiaVizita;
    private JLabel lDiaEntrega;
    protected JTextField tfRazaoForn;
    private JTextField tfCnpjForn;
    private JTextField tfEndForn;
    private JTextField tfEmailForn;
    private JTextField tfTelForn;
    private JTextField tfNomeVendedor;
    private JTextField tfTelVendedor;
    private JTextField tfCidadeForn;
    private JTextField tfUfForn;
    private JTextField tfCepForn;
    private JTextField tfDiaVizita;
    private JTextField tfDiaEntrega;
    private JButton btEnvia;
    protected JButton btLimpa;
    private Dimension d;
    public GuiCadForn(){
    super(“Teste”, true,true,true,true);
    d = new Dimension();
    d = Toolkit.getDefaultToolkit().getScreenSize();
    this.setLayout(null);
    this.setVisible(true);
    this.setBounds(0,0,d.width,d.height);
    lRazaoForn = new JLabel("Razão : ");
    this.add(lRazaoForn).setBounds(d.width = 20,d.height = 15,d.width = 55,d.height = 20);
    tfRazaoForn = new JTextField(60);
    this.add(tfRazaoForn).setBounds(d.width = 80,d.height = 15,d.width = 400,d.height = 20);
    lCnpjForn = new JLabel("CNPJ : ");
    this.add(lCnpjForn).setBounds(d.width = 500,d.height = 15,d.width = 40,d.height = 20);
    tfCnpjForn = new JTextField(16);
    this.add(tfCnpjForn).setBounds(d.width = 560,d.height = 15,d.width = 150,d.height = 20);
    lEndForn = new JLabel("Endereço : ");
    this.add(lEndForn).setBounds(d.width = 20,d.height = 60,d.width = 70,d.height = 20);
    tfEndForn = new JTextField(120);
    this.add(tfEndForn).setBounds(d.width = 100,d.height = 60,d.width = 610,d.height = 20);
    lCidadeForn = new JLabel("Cidade : ");
    this.add(lCidadeForn).setBounds(d.width = 20,d.height = 105,d.width = 60,d.height = 20);
    tfCidadeForn = new JTextField(60);
    this.add(tfCidadeForn).setBounds(d.width = 90,d.height = 105,d.width = 300,d.height = 20);
    lCepForn = new JLabel("CEP : ");
    this.add(lCepForn).setBounds(d.width = 420,d.height = 105,d.width = 80,d.height = 20);
    tfCepForn = new JTextField(8);
    this.add(tfCepForn).setBounds(d.width = 480,d.height = 105,d.width = 100,d.height = 20);
    lUfForn = new JLabel("UF : ");
    this.add(lUfForn).setBounds(d.width = 610,d.height = 105,d.width = 35,d.height = 20);
    tfUfForn = new JTextField(2);
    this.add(tfUfForn).setBounds(d.width = 665,d.height = 105,d.width = 45,d.height = 20);
    lTelForn = new JLabel("Telefone : ");
    this.add(lTelForn).setBounds(d.width = 20, d.height = 150,d.width = 60,d.height = 20);
    tfTelForn = new JTextField(10);
    this.add(tfTelForn).setBounds(d.width = 90, d.height = 150, d.width = 180,d.height = 20);
    lEmailForn = new JLabel("Email : ");
    this.add(lEmailForn).setBounds(d.width = 300,d.height = 150, d.width = 200,d.height = 20);
    tfEmailForn = new JTextField(100);
    this.add(tfEmailForn).setBounds(d.width = 360,d.height = 150, d.width = 350, d.height = 20);
    lNomeVendedor = new JLabel("Nome do Vendedor : ");
    this.add(lNomeVendedor).setBounds(d.width = 20, d.height = 195, d.width = 180, d.height = 20);
    tfNomeVendedor = new JTextField(60);
    this.add(tfNomeVendedor).setBounds(d.width = 150, d.height = 195, d.width = 250, d.height = 20);
    lTelForn = new JLabel ("Telefone : ");
    this.add(lTelForn).setBounds(d.width = 430, d.height = 195, d.width = 100, d.height = 20);
    tfTelForn = new JTextField(10);
    this.add(tfTelForn).setBounds(d.width = 510, d.height = 195, d.width = 200, d.height = 20);
    lDiaVizita = new JLabel("Dia de Vizita : ");
    this.add(lDiaVizita).setBounds(d.width = 20, d.height = 240, d.width = 200, d.height = 20);
    tfDiaVizita = new JTextField(30);
    this.add(tfDiaVizita).setBounds(d.width = 120, d.height = 240, d.width = 200, d.height = 20);
    lDiaEntrega = new JLabel ("Dia de Entrega : ");
    this.add(lDiaEntrega).setBounds(d.width = 360, d.height = 240, d.width = 200, d.height = 20);
    tfDiaEntrega = new JTextField(30);
    this.add(tfDiaEntrega).setBounds(d.width = 480, d.height = 240,d.width = 200, d.height = 20);
    btEnvia = new JButton(“Cadastrar”);
    this.add(btEnvia).setBounds(d.width = 200, d.height = 340, d.width = 120, d.height = 30);
    btLimpa = new JButton(“Limpar”);
    this.add(btLimpa).setBounds(d.width = 480, d.height = 340, d.width = 120, d.height = 30);
    }

    public void addLimpa(ActionListener e) {
    this.btLimpa.addActionListener(e); / O PROBLEMA ESTA AKI/
    }

}

SEGUNDO ARQUIVO CONTROLE

public class ControllerCadForn extends GuiCadForn{
private GuiCadForn gCadForn = null;
ControllerCadForn(){
gCadForn = new GuiCadForn();
gCadForn.addLimpa(new EventoLimpar());
new GuiCadForn();
}
class EventoLimpar implements ActionListener{
public void actionPerformed (ActionEvent evento){
if(evento.getSource() == gCadForn.btLimpa ){
JOptionPane.showMessageDialog(null, “Funcionando”);
tfRazaoForn.setText("");

    }
}

}
}

NAO ESTOU CONSEGUINDO ADD O EVENDO AO BOTAO… ALGUEM AI TEM UMA LUZ PARA ME DAR

Voce nao esta usando nenhuma IDE ?

Coloque entre as tags, não da para analisar nada desse jeito. :S

Você não ta usando nenhum layout?

Como disseram aí, coloca o codigo entre a tag code pra facilitar a leitura, ta muito ruim de ver.

Ele Está utilizando o setbounds, o que não deixa de ser uma forma de organizar os componetes. Só que o setBounds utiliza código nativo, que significa que sua tela no windows será diferente da tela no linux, mac, etc…

Quanto ao seu código, eu cliquei em limpar, ele mostrou um JOptionPane com a mensagem “Funcionando.”. Entendo que esteja funcionando. Ou não entendi qual o seu problema…

Fernando