Hi,
according to JavaFX Oracle Forum this is a bug in ListView (run the code below):
If some cell is selected, and then you select another cell, the previously selected cell becomes partly blank (only the text element).
If I mouse over the previously cell, the text appears again.
A few things to notice:
- If I remove from.setTextFill(Color.RED); from the code, it behaves as a normal list, without the bug.
- I wonder why the text Label is highlighted white, while the text2 Label is not highlighted, while focussed.
https://forums.oracle.com/forums/thread.jspa?threadID=2316773&tstart=0
according to JavaFX Oracle Forum this is a bug in ListView (run the code below):
If some cell is selected, and then you select another cell, the previously selected cell becomes partly blank (only the text element).
If I mouse over the previously cell, the text appears again.
A few things to notice:
- If I remove from.setTextFill(Color.RED); from the code, it behaves as a normal list, without the bug.
- I wonder why the text Label is highlighted white, while the text2 Label is not highlighted, while focussed.
https://forums.oracle.com/forums/thread.jspa?threadID=2316773&tstart=0
- duplicates
-
JDK-8127609 MenuButton and SplitMenuButton's textFill properties are broken
- Closed