... am i right to think that the call in the main ( new Grid ...) sets up the board then the
(new Che ...) calls to set up the men/pieces which it does (i hope) but it also encounters
a setLayout(new Grid ...) which iverwrites all the (new Che ...) work so it IS *hopefully* working.

k

package chessbuard;

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

class ChessBoard extends JFrame implements MouseListener, MouseMotionListener {

    GridLayout Board = new GridLayout(8, 8);
    int drag1, drag2;
    int xMove, yMove, labelw, labelh;
    JLabel label;
    String[] manrow = {"Pawn0", "Pawn1", "Pawn2", "Pawn3", "Pawn4", "Pawn5", "Pawn6", "Pawn7"};
    String[] manrowx = {"Pawn0", "Pawn1", "Pawn2", "Pawn3", "Pawn4", "Pawn5", "Pawn6", "Pawn7"};
    String[] piecerow = {"Rook", "Knight", "Bishop", "Queen", "King", "Bishop", "Knight", "Rook"};
    String[] piecerowx = {"Rook", "Knight", "Bishop", "Queen", "King", "Bishop", "Knight", "Rook"};

// update these labels position, which is parent jpanel, at each move
    JPanel[][] grids;
    JLabel[][] pieces;
    Dimension pieceSize = new Dimension(100, 100);
    Container con;
    Component DraggingComp;
    GridLayout board;

    public ChessBoard() {
        super("ChessBoard");
        setDefaultCloseOperation(EXIT_ON_CLOSE);

        board = new GridLayout();
        board.setHgap(4);
        board.setVgap(4);
        Dimension boardSize = new Dimension(800, 800);
        con = getContentPane();
        con.setLayout((LayoutManager)new GridChessBoard());
        con.addMouseListener(this);
        con.addMouseMotionListener(this);
        label = new JLabel("Pawn3");
        Dimension d = label.getPreferredSize();
        labelw = d.width;
        labelh = d.height;
        label.setBounds(10, 10, labelw, labelh);
        setDefaultCloseOperation(EXIT_ON_CLOSE);

        setVisible(true);
        for (int i = 0; i < 8; ++i) {
            for (int j = 0; j < 8; ++j) {
                addSquares(i, j);
            }
        }

        setSize(boardSize);


    } // end constructor

    public JFrame addAction(JFrame frame) {
        frame.getContentPane().addMouseMotionListener(this);
        return frame;
    }

    public void seeIt(Component c) {
        con.add(c);
        ((JPanel) con).revalidate();
        con.setVisible(true);
    }

    public void moveComponent(Component c, int newX, int newY, int width, int height) {
        System.out.println("in moveComponent");
        c.setBounds(newX, newY, labelw, labelh);
        c.setSize(pieceSize); // debug, just to see
        con.add(c);
        ((JPanel) con).revalidate();
        con.setVisible(true);
    }

    public String getMan(int i) {
        return manrow[i];
    }

    public String getPiece(int i) {
        return piecerow[i];
    }

    public boolean isOdd(int i) {
        return i % 2 != 0;
    }

    public boolean isEven(int i) {
        return i % 2 == 0;
    }

    public JLabel setBlue(JLabel b1) {
        b1.setBackground(Color.blue);
        return b1;
    }

    public JLabel setYellow(JLabel b1) {
        b1.setBackground(Color.yellow);
        return b1;
    }

    public void addColors() {
        for (int i = 0; i < 64; i++) {
            JLabel square = new JLabel("see");
            add(square);
            int row = (i / 8) % 2;
            if (row == 0) {
                square.setBackground(i % 2 == 0 ? Color.blue : Color.yellow);
            } else {
                square.setBackground(i % 2 == 0 ? Color.yellow : Color.blue);
            }
        }
    }

    public JLabel addBlankRow(int i, int j) {
        JLabel square = new JLabel();
        if (isEven(j)) {
            square.setBackground(i % 2 == 0 ? Color.yellow : Color.blue);
            square.setName("blank");  // added
        } else {
            square.setBackground(i % 2 == 0 ? Color.blue : Color.yellow);
            square.setName("blank");  // added
        }
        return square;
    }

    public JLabel addManRow(int i, int j) {
        String[] m = i == 1 ? manrowx : manrow;
        JLabel square = new JLabel();
        square.setLayout(new FlowLayout());

        int col = j + 1;
        if (isEven(col)) {
            square.setBackground(i % 2 == 0 ? Color.blue : Color.yellow);
            square.add(setYellow(new JLabel(m[j])), JLabel.CENTER);
            square.setName(m[j]);// added
        } else {
            square.setBackground(i % 2 == 0 ? Color.yellow : Color.blue);
            square.add(setBlue(new JLabel(m[j])), JLabel.CENTER);
            square.setName(m[j]);  // added
        }
        return square;
    }

    public JLabel addPieceRow(int i, int j) {

        String[] m = i == 1 ? piecerow : piecerowx;
        JLabel square = new JLabel();
        square.setLayout(new FlowLayout());


        int col = j;
        if (isEven(col) && (col < 8)) {

            square.add(setYellow(new JLabel(m[j])), JLabel.CENTER);
            square.setBackground(Color.yellow);
            square.setName(m[j]);  // added
        } else {
            square.add(setBlue(new JLabel(m[j])), JLabel.CENTER);
            square.setBackground(Color.blue);
            square.setName(m[j]);  // added

        }
        return square;
    }

    public JLabel addPieceRowx(int i, int j) {
        String[] m = i == 1 ? manrowx : manrow;
        JLabel square = (new JLabel(m[j]));
        square.setLayout(new FlowLayout());

        int col = j + 1;
        if (isEven(col)) {
            square.setBackground(Color.yellow);
            square.add(setYellow(new JLabel(m[j])), JLabel.CENTER);
            square.setName(m[j]);  // added
        } else {
            square.setBackground(Color.blue);
            square.add(setBlue(new JLabel(m[j])), JLabel.CENTER);
            square.setName(m[j]);  // added
        }
        return square;
    }

    public JLabel addManRowx(int i, int j) {
        String[] m = i == 1 ? manrowx : manrow;
        JLabel square = new JLabel();
        square.setLayout(new FlowLayout());

        int col = j + 1;
        if (isEven(col)) {
            square.setBackground(Color.blue);
            square.add(setBlue(new JLabel(m[j])), JLabel.CENTER);
            square.setName(m[j]);  // added
        } else {
            square.setBackground(Color.yellow);
            square.add(setYellow(new JLabel(m[j])), JLabel.CENTER);
            square.setName(m[j]);  // added
        }
        return square;
    }

    public void addSquares(int i, int j) {

        JLabel square = new JLabel();
        int col = j;
        int row = i;
        switch (row) {
            case 0:
                square = addPieceRow(row, col);
                break;
            case 1:
                square = addManRow(row, col);
                break;
            case 2:
                square = addBlankRow(row, col);
                break;
            case 3:
                square = addBlankRow(row, col);
                break;
            case 4:
                square = addBlankRow(row, col);
                break;
            case 5:
                square = addBlankRow(row, col);
                break;
            case 6:
                square = addManRowx(row, col);
                break;
            case 7:
                square = addPieceRowx(row, col);
                break;
        }
        con.add(square);
    }

    public void mousePressed(MouseEvent me) {
        System.out.println("in mouse pressed");

        // get orriginal coordinates and set text
        xMove = me.getX();
        yMove = me.getY();
        DraggingComp = con.getComponentAt(xMove, yMove);
    }

    public void mouseDragged(MouseEvent me) {

        System.out.println("in mouse dragged");
        DraggingComp = con.getComponentAt(xMove, yMove);
        if (DraggingComp == null) {
            return;
        }
        xMove = me.getX();
        yMove = me.getY();
    //moveComponent(findComponentAt(xMove, yMove), xMove, yMove, labelw, labelh);
    }

    public void mouseReleased(MouseEvent me) {
    }

    public void mouseEntered(MouseEvent me) {
    }

    public void mouseExited(MouseEvent me) {
    }

    public void mouseMoved(MouseEvent me) {
    }

    public void mouseClicked(MouseEvent me) {
    }

    static class GridChessBoard {

        JFrame frame;
        Container con;

        public GridChessBoard() {
            frame = new JFrame("Chess Board made by Hiroshi Iwatani");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            con = frame.getContentPane();

            con.setLayout(new GridLayout(8, 8));
            for (int i = 0; i < 64; i++) {
                JPanel square = new JPanel(new BorderLayout());
                Border blackline;
                blackline = BorderFactory.createLineBorder(Color.black);
                square.setBorder(blackline);
                con.add(square);


                int row = (i / 8) % 2;
                if (row == 0) {
                    square.setBackground(i % 2 == 0 ? Color.green : Color.yellow);
                //addSquares(i, i%8);
                } else {
                    square.setBackground(i % 2 == 0 ? Color.yellow : Color.green);
                }

            }

            frame.setSize(800, 800);
            frame.setVisible(true);

        }
    }

    public static void main(String[] args) {
        GridChessBoard gcb = new GridChessBoard();
        ChessBoard cb = new ChessBoard();
    }
}

First of all you don't need to keep posting a new topic each time you reattempt to fix your code. If you reply in your old topic people will see the bump and get back to it. People will be less likely to help you if you keep creating new topics, spamming the board.

Secondly, you're still trying to cast a GridChessBoard as a LayoutManager. It seems you fail to understand why you're getting the exception still. For now, comment it out.

... i am new and don't know how to add to an existing thread. i DO know how to start a new. pls tell me how? i don't want to annoy.

k

First of all you don't need to keep posting a new topic each time you reattempt to fix your code. If you reply in your old topic people will see the bump and get back to it. People will be less likely to help you if you keep creating new topics, spamming the board.

Secondly, you're still trying to cast a GridChessBoard as a LayoutManager. It seems you fail to understand why you're getting the exception still. For now, comment it out.

Exception in thread "main" java.lang.StackOverflowError
        at sun.awt.Win32GraphicsConfig.getBounds(Native Method)
        at sun.awt.Win32GraphicsConfig.getBounds(Win32GraphicsConfig.java:240)
        at java.awt.Window.init(Window.java:369)
        at java.awt.Window.<init>(Window.java:408)
        at java.awt.Frame.<init>(Frame.java:402)
        at javax.swing.JFrame.<init>(JFrame.java:207)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:31)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
        at chessboard7.ChessBoard.<init>(ChessBoard7.java:33)
        at chessboard7.ChessBoard$GridChessBoard.<init>(ChessBoard7.java:277)
Java Result: 1
BUILD SUCCESSFUL (total time: 2 seconds)

from this:

package chessboard7;

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

class ChessBoard extends JFrame implements MouseListener, MouseMotionListener {

    GridLayout Board = new GridLayout(8, 8);
    int xMove, yMove, labelw, labelh;
    JLabel label;
    int Xpos, Ypos;
    String[] manrow = {"Pawn0", "Pawn1", "Pawn2", "Pawn3", "Pawn4", "Pawn5", "Pawn6", "Pawn7"};
    String[] manrowx = {"Pawn0", "Pawn1", "Pawn2", "Pawn3", "Pawn4", "Pawn5", "Pawn6", "Pawn7"};
    String[] piecerow = {"Rook", "Knight", "Bishop", "Queen", "King", "Bishop", "Knight", "Rook"};
    String[] piecerowx = {"Rook", "Knight", "Bishop", "Queen", "King", "Bishop", "Knight", "Rook"};

// update these labels position, which is parent jpanel, at each move
    JPanel[][] grids;
    JLabel[][] pieces;
    Dimension pieceSize = new Dimension(100, 100);
    Container con;
    Component DraggingComp;
    GridLayout board;
    GridChessBoard brd;
    //ChessBoard cb;
    
    public ChessBoard() {
        super("ChessBoard");
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        brd = new GridChessBoard();
        //cb = new ChessBoard();
        board = new GridLayout(8, 8);
        Board.setHgap(4);
        Board.setVgap(4);
        Dimension boardSize = new Dimension(800, 800);
        con = getContentPane();
        con.setLayout((LayoutManager)brd);
        //con.setLayout((LayoutManager) new ChessBoard());
        con.addMouseListener(this);
        con.addMouseMotionListener(this);
        grids = new JPanel[8][8];
        pieces = new JLabel[8][8];
        label = new JLabel("0123456789");
        Dimension d = label.getPreferredSize();
        labelw = d.width;
        labelh = d.height;
        label.setBounds(Xpos, Ypos, labelw, labelh);

        setDefaultCloseOperation(EXIT_ON_CLOSE);
        for (int i = 0; i < 8; ++i) {
            for (int j = 0; j < 8; ++j) {
                addSquares(i, j);
            }
        }

        setSize(boardSize);
        setVisible(true);
    } // end constructor

    public JFrame addAction(JFrame frame) {
        frame.getContentPane().addMouseMotionListener(this);
        return frame;
    }

    public void seeIt(Component c) {
        System.out.println("in seeIt");
        add(c);
        ((JPanel) con).revalidate();
    }

    public void moveComponent(Component c, int newX, int newY, int width, int height) {
        c.setBounds(newX, newY, width, height);
        seeIt(c);
    }

    public String getMan(int i) {
        return manrow[i];
    }

    public String getPiece(int i) {
        return piecerow[i];
    }

    public boolean isOdd(int i) {
        return i % 2 != 0;
    }

    public boolean isEven(int i) {
        return i % 2 == 0;
    }

    public JLabel setBlue(JLabel b1) {
        b1.setOpaque(true);
        b1.setBackground(Color.blue);
        return b1;
    }

    public JLabel setYellow(JLabel b1) {
        b1.setOpaque(true);
        b1.setBackground(Color.yellow);
        return b1;
    }

    public void addColors() {
        for (int i = 0; i < 64; i++) {
            JLabel square = new JLabel(); //new BorderLayout());
            square.setOpaque(true);
            Board.addLayoutComponent(null, square);

            int row = (i / 8) % 2;
            if (row == 0) {
                square.setBackground(i % 2 == 0 ? Color.blue : Color.yellow);
            } else {
                square.setBackground(i % 2 == 0 ? Color.yellow : Color.blue);
            }
        }
    }

    public JLabel addBlankRow(int i, int j) {
        JLabel square = new JLabel();
        square.setOpaque(true);
        
        if (isEven(j)) {
            setBackground(i % 2 == 0 ? Color.yellow : Color.blue);
        } else {
            setBackground(i % 2 == 0 ? Color.blue : Color.yellow);
        }
        return square;
    }

    public JLabel addManRow(int i, int j) {
        String[] m = i == 1 ? manrowx : manrow;
        JLabel square = new JLabel();
        square.setOpaque(true);
        
        int col = j + 1;
        if (isEven(col)) {
           // setBackground(Color.yellow);
            square.add((new JLabel(m[j])), JLabel.CENTER);
        } else {
            //setBackground(Color.blue);
            square.add((new JLabel(m[j])), JLabel.CENTER);
        }
       return  square;
    }

    public JLabel addPieceRow(int i, int j) {
        String[] m = i == 1 ? piecerow : piecerowx;
        JLabel square = new JLabel();
        square.setOpaque(true);
        
        int col = j;
        if (isEven(col) && (col < 8)) {
            add(setYellow(new JLabel(m[j])), JLabel.CENTER);
            setBackground(Color.yellow);
        } else {
            add(setBlue(new JLabel(m[j])), JLabel.CENTER);
            setBackground(Color.blue);
        }
        return square;
    }

    public JLabel addPieceRowx(int i, int j) {
        String[] m = i == 1 ? piecerowx : piecerow;
        JLabel square = new JLabel();
        square.setOpaque(true);
        
        int col = j + 1;
        if (isEven(col)) {
            square.add((new JLabel(m[j])), JLabel.CENTER);
        } else {
            square.add((new JLabel(m[j])), JLabel.CENTER);
        }
        return square;
    }

    public JLabel addManRowx(int i, int j) {
        String[] m = i == 1 ? manrowx : manrow;
        JLabel square = new JLabel();
        square.setOpaque(true);
        
        int col = j + 1;
        if (isEven(col)) {
            square.add(setBlue(new JLabel(m[j])), JLabel.CENTER);
        } else {
            square.add(setYellow(new JLabel(m[j])), JLabel.CENTER);
        }
        return square;
    }

    public void mousePressed(MouseEvent me) {
        System.out.println("in mouse pressed");

        // get orriginal coordinates
        if (DraggingComp != null) {
            Xpos = me.getX();
            Ypos = me.getY();
            DraggingComp = getComponentAt(Xpos, Ypos);
        }

    }

    public void mouseDragged(MouseEvent me) {

        System.out.println("in mouse dragged");
        DraggingComp = con.getComponentAt(Xpos, Ypos);
        if (DraggingComp == null) {
            return;
        } else {
            Xpos = getX();
            Ypos = getY();
        }
        moveComponent(DraggingComp, Xpos, Ypos, labelw, labelh);

    }

    public void mouseReleased(MouseEvent me) {
    }

    public void mouseEntered(MouseEvent me) {
    }

    public void mouseExited(MouseEvent me) {
    }

    public void mouseMoved(MouseEvent me) {
    }

    public void mouseClicked(MouseEvent me) {
    }

    public void addSquares(int i, int j) {
        JLabel square = new JLabel();
        square.setLayout(new BorderLayout());
        square.setOpaque(true);
        int col = j;
        int row = i;
        switch (row) {
            case 0:
                square = addPieceRow(row, col);
                break;
            case 1:
                square = addManRow(row, col);
                break;
            case 2:
                square = addBlankRow(row, col);
                break;
            case 3:
                square = addBlankRow(row, col);
                break;
            case 4:
                square = addBlankRow(row, col);
                break;
            case 5:
                square = addBlankRow(row, col);
                break;
            case 6:
                square = addManRowx(row, col);
                break;
            case 7:
                square = addPieceRowx(row, col);
                break;
        }
      square.setBounds(row, col, labelw, labelh);
      GridChessBoard.frame.add(square);
    //return;
    }

   static class GridChessBoard extends ChessBoard{

        static JFrame frame;
        Container cn;

        public GridChessBoard() {
            frame = new JFrame("Chess Board made by Hiroshi Iwatani");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            cn = frame.getContentPane();

            cn.setLayout(new GridLayout(8, 8));
            for (int i = 0; i < 64; i++) {
                JPanel square = new JPanel(new BorderLayout());
                cn.add(square);

                int row = (i / 8) % 2;
                if (row == 0) {
                    square.setBackground(i % 2 == 0 ? Color.green : Color.yellow);
                } else {
                    square.setBackground(i % 2 == 0 ? Color.yellow : Color.green);
                }


                frame.setSize(600, 600);
                frame.setVisible(true);
            }
        }
    }

    public static void main(String[] args) {      
        ChessBoard cb = new ChessBoard();
    }
    }

Stack overflow usually occurs when you attempt to use recursion and the method never reaches a sentinel (or stopping case) because you're using the stack to calculate information per method call.

You'll have to find the recursive method in your code and find out why it isn't stopping when it needs to.

Lets see if you can see the problem. Here is a snippet of your code

public class ChessBoard ... {
  public Chessboard() {
    ...
    brd = new GridChessBoard();
    ...
  }
}

public Class GridChessBoard extends ChessBoard ... {
  public GridChessBoard() {
    ...
  }
}

See the problem?

If not, then you really need to actually read the tutorials that we kept pointing you at when you posted at Java World.

When one class extends another (i.e. GridChessBoard extends ChessBoard), then, whenever the subclasses constructor (GridChessBoard's constructor) is called, a constructor from the super class (ChessBoard) will be called. It can be one you designate, but if you do not designate one, it will be the default constructor, i.e. ChessBoard().

Do you see the loop now?

You call ChessBoard(), it calls GridChessBoard() (which is completely wrong anyway, what the heck is a super Class doing any thing with one of the subclasses?), which calls ChessBoard(), which calls GridChessBoard(), which calls ChessBoard(), which calls GridChessBoard(), .....

Do you get the picture now?

Sheesh!

This article has been dead for over six months. Start a new discussion instead.