I am trying to change the row color based on the last column's value
Following is the code used:
PaginationUI pageUI =new PaginationUI();
this.dialog = new JDialog(jFrame, csvName, true);
pageUI.setCurrentPageIndex(1);
pageUI.setItemsPerPage(itemsPerPage);
pageUI.setHeader(header);
pageUI.setData(data);
pageUI.paintPaginatedData();
Plz help. I need to check the last value of the "data" Arraylist. Depending on that if value is "abc" ,need to change the value of that row.
I went through Change the background color of a row in a JTable
and did most of the things suggested therein, except the MyTableCellRenderer, which I did not understand where that is implemented.