import java.util.*;
import java.awt.FlowLayout;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JFrame;
import javax.swing.JButton;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JOptionPane;
//----------I could just do import java.awt.*; and import java.swing.*; but, when the program get larger, this could cause glitches, so it's better not to----------
public class Gui extends JFrame{
public class QA //THIS IS WHERE I'M GETTING THE ERROR MESSAGE
{
private int x;
private JButton reg;
private JButton custon;
public Gui();
public QA()
{
Я скопировал код из видео на YouTube (https://www.youtube.com/watch?v=6iV-v_m0z0w),, но я не уверен, в чем проблема. Благодарим за любую помощь:)