import java.awt.*; import java.awt.event.*; public class QuadraticSolver extends Frame implements ActionListener, WindowListener { private TextField tfX2; private TextF
Since QuadraticSolver implements ActionListener, it should implement actionPerformed.
QuadraticSolver
ActionListener
actionPerformed
You implemented that method in an anonymous class.
To solve it, either add an implementation of actionPerformed to QuadraticSolver or don't require QuadraticSolver to implement that interface.