Why is it giving me this error?
I have ran this code on Windows 10 with Eclipse and it worked. But on repl it is throwing an error:
Frame.java:9: error: cannot find symbol
public class Frame extends JFrame implements ActionListener
symbol: class ActionListener
Frame.java:46: error: method does not override or implement a method from a supertype
compiler exit status 1
How do I solve this?