DIGIT-ARC read-only archive · snapshot: July 23, 2026

Java: DefaultTableModel doubt

5 posts · originally from https://geek.digit.in/community/threads/java-defaulttablemodel-doubt.110896/

S
srbharadwaj Original post #1
Mar 16, 2009 at 11:47 AM
In a DefaultTableModel after doing an addrow …how to make certain texts within the rows BOLD?

PS: Had posted in the java thread but did'nt get any replies....any1 has any idea abt it?
C
Mar 16, 2009 at 1:54 PM
Use a custom renderer/
S
Mar 16, 2009 at 4:58 PM
Use a custom renderer/

How?
I need to make only certain texts within a cell to be bold
Example:
If the text at 'x'th row and 'y'th column contains the word "abc def" then make ONLY the letters "abc def" in that cell BOLD rest all will remain default
S
Mar 19, 2009 at 12:26 PM
How?
I need to make only certain texts within a cell to be bold
Example:
If the text at 'x'th row and 'y'th column contains the word "abc def" then make ONLY the letters "abc def" in that cell BOLD rest all will remain default


Any one has any solutions???