Originally Posted by rich1051414
I have read many problems with javafx controls not refreshing their view, but none of these seem to work in my situation. I have also tried mapping seperate labels for each item, and setting the text, but it still does not trigger a redraw. I have also tried setting the labels invisible and visible again, but this also does not trigger a redraw, I am a bit stumped.
Edit: I fixed it by forcefully clearing and repopulating the list, forcing it to redraw all items. Not ideal, but it works.
Glad you found a solution to this. Swing is bad enough in you typically have to invalidate a component, but needing to force a redraw by repopulating certainly isn't ideal. I'd assume that there is a better approach to it as well, but I'm afraid I can't really help with it since I'm not versed in javafx at all. Eventually you'll stumble on the best solution though (you'd think oracle would be explicit in their documentation for stuff like this).