package avs.ui;

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;

public class GamePanel extends JPanel {
    public GamePanel() {
        JButton mainMenuButton = new JButton("Back to Main Menu");
        JButton settingsButton = new JButton("Settings");
        
        this.add(mainMenuButton);
        this.add(settingsButton);
        this.setBackground(Color.RED);
    }
}

@@ -146,210 +146,8 @@
 ) %7B%0A
-        JButton mainMenuButton = new JButton(%22Back to Main Menu%22);%0A        JButton settingsButton = new JButton(%22Settings%22);%0A        %0A        this.add(mainMenuButton);%0A        this.add(settingsButton);%0A
     

Remove buttons from GamePanel