I got a String in my model that I want to keep track of (the String represents a continent). If the continent changes, a ListView should be updated in the gui with the correct countries for that continent.
String selectedContinent;
ObservableValue continent = (ObservableValue) selectedContinent;
continent.addListener( ......
Obviously I get error: incompatible types: String cannot be converted to ObservableValue.
I've previously used ObservableList, etc.. But this ObservableValue is new to me. After searching I found alot related to Property etc.. but nothing I could learn from sorta.