i have a table where in one coloumn i have to fill the value example 50% and the cell background color should be green till the 50% of the Cell
i think you got what i want.
so i thought of putting the JProgress bar in the renderrer of the table cell, but problem is how to change the color of the progress
for example till
60% it should be green
more then 81%- Red
This idea is correct?
if yes how to change the color of the progress bar. i have tried googling. but that logic will change the color of all the ProgressBar in the Application.
Conditionally set the foreground in the getTableCellRendererComponent method. Don't forget to include all possible conditions to that the foreground is set to the desired color every time the method is invoked.
There are no new questions, but there may be new answers.