private Color convertColor(int x){
        Color BlockColor = Color.BLACK;
        switch(x){
            case 1: BlockColor = Color.BLACK;
                    break;
            case 2: BlockColor = Color.GREEN;
                    break;
            case 3: BlockColor =  Color.BLUE;
                    break;
            case 4: BlockColor =  Color.ORANGE;
                    break;
            case 5: BlockColor =  Color.MAGENTA;
                    break;
            case 6: BlockColor =  Color.BLUE;
                    break;
            case 7: BlockColor =  Color.RED;
                    break;

        }
        return BlockColor;
    }