public void paint(Graphics g){
        Graphics2D g2 = (Graphics2D)g;
        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);
        Image image = this.getToolkit().getImage(".//image//background.jpg");

        g.drawImage(image, 0, 0, this);
        //g2.setColor(getContentPane().getBackground());
        //g2.fillRect(0,0,getContentPane().getWidth(),getContentPane().getHeight());
        for (int j = 0; j < _cube._c.length; j++) {
            g2.setColor(Color.gray);
            switch (_cube._c[j]){
                case 'w':
                    //g2.setColor(Color.WHITE);
                    image=this.getToolkit().getImage(".//image//white.png");
                    break;
                case 'b':
                    //g2.setColor(Color.BLACK);
                    image=this.getToolkit().getImage(".//image//black.png");
                    break;
                default:
                    continue;
            }
            RoundRectangle2D rec2;
            if (j==_cube.indexOfE()+step) {
                g.drawImage(image, 10 + 150 * j + x, 600 + y, this);
                //rec2 = new RoundRectangle2D.Float(10 + 100 * j + x, 110 + y, 100, 100, 20, 20);
            }else {
                g.drawImage(image, 10 + 150 * j, 600 , this);
                //rec2 = new RoundRectangle2D.Float(10 + 100 * j , 440 , 100, 100, 20, 20);
            }
            //g2.fill(rec2);
        }
    }