post #1 of 1
Thread Starter 
What I have is a JTable of paths of files. If such a file doesn't exist then that row needs to be highlighted. I've searched around for an hour or so and get the general idea that I need to create my own custom TableCellRenderer. I know that it takes 'rows' and 'columns' as parameters but I don't know how to make use of them to access individual rows and change their colours.

Thanks.
Gaming Beast
(17 items)
 
   
CPUMotherboardGraphicsRAM
Intel Core i5 4430 MSI Z87-G41 PC Mate MSI GeForce GTX 660 Twin Frozr OC Corsair Value Select 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Western Digital Caviar Green Seagate Barracuda LiteOn IHAS124-14 24x SATA Internal DVD-RW / DV... 
OSMonitorMonitorKeyboard
Windows 8.1 22" Samsung S22A200B Widescreen LED Monitor Iiyama PLX436S 17" Microsoft SIdewinder X4 
PowerCaseMouseMouse Pad
450W Coolermaster GX 80 Plus EZCOOL Mesh Design Mid Tower Case Razr DeathAdder Razr Goliathus 
Audio
M-Audio Audiophile 2496 
CPUMotherboardGraphicsOS
i7 4700HQ MSI MS-16H2 Intel(R) HD Graphics 4600 Microsoft Windows 8.1 
KeyboardPowerAudio
Steelseries 6-Cell Li-Polymer(4840mAh 52Wh) Sound by Dynaudio, Support 7.1 channel S/PDIF o... 
  hide details  
Reply
Gaming Beast
(17 items)
 
   
CPUMotherboardGraphicsRAM
Intel Core i5 4430 MSI Z87-G41 PC Mate MSI GeForce GTX 660 Twin Frozr OC Corsair Value Select 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Western Digital Caviar Green Seagate Barracuda LiteOn IHAS124-14 24x SATA Internal DVD-RW / DV... 
OSMonitorMonitorKeyboard
Windows 8.1 22" Samsung S22A200B Widescreen LED Monitor Iiyama PLX436S 17" Microsoft SIdewinder X4 
PowerCaseMouseMouse Pad
450W Coolermaster GX 80 Plus EZCOOL Mesh Design Mid Tower Case Razr DeathAdder Razr Goliathus 
Audio
M-Audio Audiophile 2496 
CPUMotherboardGraphicsOS
i7 4700HQ MSI MS-16H2 Intel(R) HD Graphics 4600 Microsoft Windows 8.1 
KeyboardPowerAudio
Steelseries 6-Cell Li-Polymer(4840mAh 52Wh) Sound by Dynaudio, Support 7.1 channel S/PDIF o... 
  hide details  
Reply