Color cell in javafx tableview
<p>I'm trying to color a cell in javafx but I have an error with no suggestion on the following line while trying to adapt the code on Oracle's website to mine.
The line with the error is :</p>

<pre><code> `RH.setCellValueFactory(cellData -&gt; cellData.getValue().getRH());`
</code></pre>

<p>I have an error with :</p>

<pre><code>cellData.getValue().getFeuRH()
</code></pre>

<p>My method getFeuRH returns a String and is :</p>

<pre><code>public String getRH(){
    return RH.get();
}
</code></pre>

<p>Does anybody know why ?</p>