public void mouseClicked(MouseEvent e) {
    	
        
        if(e.getButton()==BUTTON3){
        mouseX=e.getX();
        mouseY=e.getY();
        System.out.println("X:"+Integer.toString(mouseX));
        System.out.println("Y:"+Integer.toString(mouseY));
        System.out.println("Koordynaty: "+MapGetter.addMarker(mouseX,mouseY));
        MapGetter.getMapImage(MapGetter.createUrl(0, 0));
        //mouse_x=0;
        //mouse_y=0;
        
        }
        
        if(markerRect!=null)
        {

        }
        
        repaint();
    }