Java Swing: Change font color

Please let me know how I can change the font color within a class that extends JLabel implements TableCellRenderer.

Thanks!
dshrenikAsked:
Who is Participating?
 
for_yanConnect With a Mentor Commented:

setForeground(Coor.green)
0
 
for_yanCommented:
Within this methois which returns Component just say setForeground in the same way you were setting background color before
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.