Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Specific Highlighting in JavaFx TableCell

User_SVDJAFeb 17 2021

Hello, I have a table of 12 columns and i want to do the following:
once clicked in any of the cells of the last ten columns highlight the specific letters or numbers in a string in column 2. Kind of a searcher of sorts. Only put color in the the specific elements of the string.
From my knowledge Javafx in the cellrenderer has settextfill but that does the whole cell. I also tried stringbuilder but it doesn't work on the tableview.
What do you think?
Letters or numbers of a string property of a cell in the table.

Comments

Post Details

Added on Feb 17 2021
0 comments
200 views