I seem to get this error whenever I compile the code:
Test is not abstract and does not override abstract method actionPerformed(ActionEvent) in ActionListener public class Test extends JFrame implements ActionListener ^
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Test extends JFrame implements ActionListener {
    Font Ft = new Font("Verdana",Font.BOLD,14);
    JLabel Lb1 = new JLabel("Select an add-on to your burger");
    JCheckBox Egg = new JCheckBox("Egg Php10");
    JCheckBox Cheese = new JCheckBox("Cheese Php10");
    JCheckBox Bacon = new JCheckBox("Bacon Php15");
    JButton UnCheck = new JButton("UnCheck All");
    JButton CheckAll = new JButton("Check All");
    JButton Submit = new JButton("Submit");
    JLabel Lb2 = new JLabel("Total Amount: ");
    JLabel Lb3 = new JLabel("");
    public Test()//Swing Components
    {
        setTitle("Color Settings");
        setSize(300,420);
        setLayout(null);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        getContentPane().setBackground(Color.BLACK);
        Lb1.setFont(Ft);
        Lb1.setBounds(20,30,300,20);
        Lb1.setForeground(Color.YELLOW);
        Egg.setFont(Ft);
        Egg.setBounds(40,65,300,20);
        Egg.setForeground(Color.WHITE);
        Egg.setBackground(Color.BLACK);
        Cheese.setFont(Ft);
        Cheese.setBounds(40,95,300,20);
        Cheese.setForeground(Color.WHITE);
        Cheese.setBackground(Color.BLACK);
        Bacon.setFont(Ft);
        Bacon.setBounds(40,125,300,20);
        Bacon.setForeground(Color.WHITE);
        Bacon.setBackground(Color.BLACK);
        UnCheck.setBounds(20,160,100,20);
        CheckAll.setBounds(150,160,100,20);
        Submit.setBounds(70,200,100,20);
        Lb2.setFont(Ft);
        Lb2.setBounds(20,250,300,20);
        Lb2.setForeground(Color.YELLOW);
        Lb3.setFont(Ft);
        Lb3.setBounds(150,250,300,20);
        Lb3.setForeground(Color.YELLOW);
        add(Lb1);
        add(Egg);
        add(Cheese);
        add(Bacon);
        add(UnCheck);
        add(CheckAll);
        add(Submit);
        add(Lb2);
        add(Lb3);     
        UnCheck.addActionListener(new ActionListener()//First button to have a separate action.
        {
            public void actionPerformed(ActionEvent E)
            {
                Egg.setSelected(false);
                Cheese.setSelected(false);
                Bacon.setSelected(false);
            }
        });
        CheckAll.addActionListener(new ActionListener()//Second button to have a separate action.
        {
            public void actionPerformed(ActionEvent E)
            {
                Egg.setSelected(true);
                Cheese.setSelected(true);
                Bacon.setSelected(true);
            }
        });
        Submit.addActionListener(new ActionListener()//Third button to have a separate action.
        {
            public void actionPerformed(ActionEvent E)
            {
                int price;
                if (Egg.isSelected())
                {
                    price = price + 10;
                }
                if (Cheese.isSelected())
                {
                    price = price +10;
                }
                if (Bacon.isSelected())
                {
                   price = price + 15;
                }
                Lb3.setText("Php" + price);
            }
        });
    }
    public static void main (String[] args)
    {
        Test Fr = new Test();
        Fr.setVisible(true);
    }
}
 
     
    