When you use addActionListener() you have to use an argument that is an instance of the the ActionListener interface. Your Start does
not implement ActionListener unless you explicitly say so:
|
Code:
|
public class Start extends JFrame implements ActionListener { |