Can't you get the values directly from the table? You have access to it via the table parameter. Or, since you're writing a custom renderer, you could just pass the main class (or better yet, the...
Type: Posts; User: KevinWorkman
Can't you get the values directly from the table? You have access to it via the table parameter. Or, since you're writing a custom renderer, you could just pass the main class (or better yet, the...
There are a ton of ways to do it. The first thing that pops out to me is to simply do a test- if StartTime is in a cell above the current cell, and StopTime is in the cell below the current cell,...
What about this are you stuck on? The parameter value in the getTableCellRendererComponent() method gives you the value in the cell. Check that against the start time, setting the color...