Slyh: Bin newbie und finde den Fehler net

Beitrag lesen

Hallo,

ich kürze mal auf die relevanten Zeilen:

public void actionPerfomed(ActionEvent e){
if(e.getSource()==bt1) kreis(50,20,100);
if(e.getSource()==bt2) maleGerade(10,20,100,200);
}

java.lang.Error: Unresolved compilation problem:
Class must implement the inherited abstract method ActionListener.actionPerformed(ActionEvent)

Noch mehr gekürzt:

public void actionPerfomed(ActionEvent e){
ActionListener.actionPerformed(ActionEvent)

Und noch mehr:

actionPerfomed(ActionEvent)
actionPerformed(ActionEvent)

Also ein simpler Schreibfehler.

Gruß
Slyh