title: Display variable (Int) in JavaFX
body: <p>I want to show the page number of a PDF. The current page is saved in <code>Int currentpage;</code>. I created a Label like <code>Label pagenumber = new Label();</code>. I tried with <code>pagenumber.textProperty().bind(currentpage);</code> but then Eclipse ask me to change currentPage in <code>ObservableValue &lt;? extends String &gt;</code>. I think it's really easy to do what I want, but I'm very new about JavaFX. Sorry, for the easy question. </p>
  
  <p>Thanks</p>