public void setCoordinatesLabel(double xPosition, double yPosition) {
        double roudedX = Math.round(xPosition*100d)/100d;
        double roudedY = Math.round(yPosition*100d)/100d;
        coordinates.setText(roudedX + "/" + roudedY);
    }