private Color getColor(SquareType square) {
        if (square == null) {
            return Color.WHITE;
        } else {
            switch (square) {
                //I, L , J, T, O, S, Z, EMPTY, OUTSIDE;
                case I:
                    return Color.BLUE;
                case L:
                    return Color.RED;
                case J:
                    return Color.CYAN;
                case T:
                    return Color.GREEN;
                case O:
                    return Color.ORANGE;
                case S:
                    return Color.GRAY;
                case Z:
                    return Color.PINK;
                //case EMPTY: return '¨';
                case OUTSIDE:
                    return Color.BLACK;
            }
        }
        return Color.MAGENTA;
    }