problème de création d'interface
salut mes amis j'ai crée un composant suivant l'EMAIL
http://baptiste-wicht.developpez.com...t/?page=page_4
Code:
1 2 3 4
|
bouton = new JButton("Calculer");
bouton.setPreferredSize(new Dimension(125,25));
bouton.addActionListener(this) ; |
mais j'ai un message d'erreur
"SimpleFenetre.java": addActionListener(java.awt.event.ActionListener) in javax.swing.AbstractButton cannot be applied to (aa.SimpleFenetre) at line 66, column 73
sur cette ligne
bouton.addActionListener(this) ;