private void doDrawing(Graphics g) {
        
        Graphics2D g2d = (Graphics2D) g;

        BufferedImage img = null;
        img = createImage();
        /*    try {
                img = ImageIO.read(new File("image.jpg"));
                } catch (IOException e) {
                }*/
        img.flush();
        //POLOZENIE CZARNEGO TLA
        g2d.drawImage(img, 0, 0, this);
        
        if(markerRect!=null){
            if(!mDragged){
        markerRect.doDrawing(g);}}
    }