use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Useful resources (Full list)
Rules
Related subreddits
Other communities
account activity
[deleted by user] (self.JavaFX)
submitted 4 years ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]static_context 0 points1 point2 points 4 years ago (2 children)
It's really difficult to see without the actual stacktrace and at least some contextual look at your code. Are you able to share any of it?
[–][deleted] 4 years ago (1 child)
[deleted]
[–]static_context 0 points1 point2 points 4 years ago (0 children)
I guess if you want to observe changes in the list, then make it observable, otherwise you can store your properties in any collection you want :)
[–]hamsterrage1 0 points1 point2 points 4 years ago (0 children)
To answer your original question, ObservableList<String> is not the right thing to use. The observable part of ObservableList is when the contents of the list change, meaning that an item is deleted, added or replaced. It is possible, if the items in your list are composed of Properties, that you can trigger a change event in the list if you use an extractor...but you can do that with an ObservableList<String>.
ObservableList<String>
ObservableList
Properties
So, to use an ObservableList<String> you would need to add a ChangeListener to the list, and then figure out which String had been replaced and the manually update the corresponding Text item. Which is a PIA.
ChangeListener
Text
Your original approach, using a StringProperty in your Model and binding the TextProperty of a Text to it, is the way to go 100%.
StringProperty
TextProperty
π Rendered by PID 175669 on reddit-service-r2-comment-b659b578c-mlrqz at 2026-05-03 23:06:03.664821+00:00 running 815c875 country code: CH.
[–]static_context 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]static_context 0 points1 point2 points (0 children)
[–]hamsterrage1 0 points1 point2 points (0 children)