Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    1,432

    Re: Colouring Rows of a table

    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...
  2. Replies
    5
    Views
    1,432

    Re: Colouring Rows of a table

    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,...
  3. Replies
    5
    Views
    1,432

    Re: Colouring Rows of a table

    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...
Results 1 to 3 of 3