@SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        box1 = new javax.swing.JTextField();
        box2 = new javax.swing.JTextField();
        box3 = new javax.swing.JTextField();
        box4 = new javax.swing.JTextField();
        box5 = new javax.swing.JTextField();
        box6 = new javax.swing.JTextField();
        box7 = new javax.swing.JTextField();
        box8 = new javax.swing.JTextField();
        box9 = new javax.swing.JTextField();
        error_rectify = new javax.swing.JLabel();
        refresh = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        Back = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setBounds(new java.awt.Rectangle(450, 200, 400, 500));
        setMaximumSize(new java.awt.Dimension(400, 500));
        setMinimumSize(new java.awt.Dimension(400, 500));
        setPreferredSize(new java.awt.Dimension(400, 500));
        setResizable(false);
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        box1.setEditable(false);
        box1.setFont(new java.awt.Font("Tahoma", 0, 100)); // NOI18N
        box1.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        box1.setFocusable(false);
        box1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box1MouseClicked(evt);
            }
        });
        getContentPane().add(box1, new org.netbeans.lib.awtextra.AbsoluteConstraints(48, 50, 100, 100));

        box2.setEditable(false);
        box2.setFont(new java.awt.Font("Tahoma", 0, 100)); // NOI18N
        box2.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        box2.setFocusable(false);
        box2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box2MouseClicked(evt);
            }
        });
        getContentPane().add(box2, new org.netbeans.lib.awtextra.AbsoluteConstraints(148, 50, 100, 100));

        box3.setEditable(false);
        box3.setFont(new java.awt.Font("Tahoma", 0, 100)); // NOI18N
        box3.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        box3.setFocusable(false);
        box3.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box3MouseClicked(evt);
            }
        });
        getContentPane().add(box3, new org.netbeans.lib.awtextra.AbsoluteConstraints(248, 50, 100, 100));

        box4.setEditable(false);
        box4.setFont(new java.awt.Font("Tahoma", 0, 100)); // NOI18N
        box4.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        box4.setFocusable(false);
        box4.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box4MouseClicked(evt);
            }
        });
        getContentPane().add(box4, new org.netbeans.lib.awtextra.AbsoluteConstraints(48, 150, 100, 100));

        box5.setEditable(false);
        box5.setFont(new java.awt.Font("Tahoma", 0, 100)); // NOI18N
        box5.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        box5.setFocusable(false);
        box5.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box5MouseClicked(evt);
            }
        });
        getContentPane().add(box5, new org.netbeans.lib.awtextra.AbsoluteConstraints(148, 150, 100, 100));

        box6.setEditable(false);
        box6.setFont(new java.awt.Font("Tahoma", 0, 100)); // NOI18N
        box6.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        box6.setFocusable(false);
        box6.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box6MouseClicked(evt);
            }
        });
        getContentPane().add(box6, new org.netbeans.lib.awtextra.AbsoluteConstraints(248, 150, 100, 100));

        box7.setEditable(false);
        box7.setFont(new java.awt.Font("Tahoma", 0, 100)); // NOI18N
        box7.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        box7.setFocusable(false);
        box7.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box7MouseClicked(evt);
            }
        });
        getContentPane().add(box7, new org.netbeans.lib.awtextra.AbsoluteConstraints(48, 250, 100, 100));

        box8.setEditable(false);
        box8.setFont(new java.awt.Font("Tahoma", 0, 100)); // NOI18N
        box8.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        box8.setFocusable(false);
        box8.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box8MouseClicked(evt);
            }
        });
        getContentPane().add(box8, new org.netbeans.lib.awtextra.AbsoluteConstraints(148, 250, 100, 100));

        box9.setEditable(false);
        box9.setFont(new java.awt.Font("Tahoma", 0, 100)); // NOI18N
        box9.setHorizontalAlignment(javax.swing.JTextField.CENTER);
        box9.setFocusable(false);
        box9.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                box9MouseClicked(evt);
            }
        });
        getContentPane().add(box9, new org.netbeans.lib.awtextra.AbsoluteConstraints(248, 250, 100, 100));
        getContentPane().add(error_rectify, new org.netbeans.lib.awtextra.AbsoluteConstraints(456, 424, 40, 20));

        refresh.setFont(new java.awt.Font("Tahoma", 0, 36)); // NOI18N
        refresh.setText("Refresh");
        refresh.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                refreshActionPerformed(evt);
            }
        });
        getContentPane().add(refresh, new org.netbeans.lib.awtextra.AbsoluteConstraints(48, 377, -1, 57));

        jLabel1.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        jLabel1.setText("Click any square to begin.");
        getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(72, 11, 276, 28));

        Back.setFont(new java.awt.Font("Tahoma", 0, 36)); // NOI18N
        Back.setText("Back");
        Back.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BackActionPerformed(evt);
            }
        });
        getContentPane().add(Back, new org.netbeans.lib.awtextra.AbsoluteConstraints(207, 377, 141, 57));

        setBounds(450, 200, 400, 500);
    }// </editor-fold>//GEN-END:initComponents