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.
My Computer
(22 items)
 
   
CPUMotherboardGraphicsGraphics
Intel Core 2 Quad Core Q6600 Asus P5NE-SLI Asus GTX 460 TOP 1GB Asus GTX 460 TOP 768MB 
RAMRAMHard DriveHard Drive
4GB (2x2GB) Patriot Viper DDR2 SDRAM 8500 4GB (2X2GB) Kingston ValueRam DDR2 SDRAM 6400 Samsung 840 250GB SSD Seagate Barracuda 1TB 
Hard DriveOptical DriveCoolingCooling
Western Digital 2TB NEC DVD+/-RW ATA 2x Red L.E.D. 120mm Case Fan Asus V Series 
OSMonitorMonitorKeyboard
Windows 8 Professional N 64-bit Iiyama PLX436S 17" Samsung SyncMaster 21" Microsoft Sidewinder X4 
PowerCaseMouseMouse Pad
Cooler Master GX 450W EZCOOL Mesh Design Mid Tower Case Razer Deathadder Razer Goliathus 
AudioOther
M-Audio Audiophile 2496 ASMedia PCI-E SATA Controller 
CPUGraphicsGraphicsRAM
Intel I7 2720QM 2.2GHz AMD ATI Radeon HD 6750M Intel HD Graphics 3000 2x2GB DDR3 
Hard DriveHard DriveOptical DriveCooling
SATA 750GB 5400RPM Samsung 830 128GB SSD 8x slot-loading SuperDrive (DVD±R DL/DVD±RW/CD-RW) 2 Fans 
OSOSMonitorKeyboard
Apple Mac OSX Lion 64-bit Microsoft Windows 8 Professional N 64-bit 1680x1050 Hi-Res Antiglare Full-size backlit keyboard 
PowerCaseMouse
77.5-watt-hour lithium-polymer battery Precision Aluminium Unibody Multi-Touch Trackpad 
  hide details  
Reply
My Computer
(22 items)
 
   
CPUMotherboardGraphicsGraphics
Intel Core 2 Quad Core Q6600 Asus P5NE-SLI Asus GTX 460 TOP 1GB Asus GTX 460 TOP 768MB 
RAMRAMHard DriveHard Drive
4GB (2x2GB) Patriot Viper DDR2 SDRAM 8500 4GB (2X2GB) Kingston ValueRam DDR2 SDRAM 6400 Samsung 840 250GB SSD Seagate Barracuda 1TB 
Hard DriveOptical DriveCoolingCooling
Western Digital 2TB NEC DVD+/-RW ATA 2x Red L.E.D. 120mm Case Fan Asus V Series 
OSMonitorMonitorKeyboard
Windows 8 Professional N 64-bit Iiyama PLX436S 17" Samsung SyncMaster 21" Microsoft Sidewinder X4 
PowerCaseMouseMouse Pad
Cooler Master GX 450W EZCOOL Mesh Design Mid Tower Case Razer Deathadder Razer Goliathus 
AudioOther
M-Audio Audiophile 2496 ASMedia PCI-E SATA Controller 
CPUGraphicsGraphicsRAM
Intel I7 2720QM 2.2GHz AMD ATI Radeon HD 6750M Intel HD Graphics 3000 2x2GB DDR3 
Hard DriveHard DriveOptical DriveCooling
SATA 750GB 5400RPM Samsung 830 128GB SSD 8x slot-loading SuperDrive (DVD±R DL/DVD±RW/CD-RW) 2 Fans 
OSOSMonitorKeyboard
Apple Mac OSX Lion 64-bit Microsoft Windows 8 Professional N 64-bit 1680x1050 Hi-Res Antiglare Full-size backlit keyboard 
PowerCaseMouse
77.5-watt-hour lithium-polymer battery Precision Aluminium Unibody Multi-Touch Trackpad 
  hide details  
Reply