Table Header Customization

Hopefully this is a quick answer for someone! I’m trying to change the background color for a standard table header. I’ve tried to code it in with this script:

dttable = event.source.parent.getComponent(Line1_DT).viewport.view dttable.tableHeader.background = (30,5,239)

I’m not putting it in the right place, my code is in error, or it’s not possible to change the background color of the header on a table?

Has anybody done this before?

[code]from java.awt import Color

bg=Color(12,128,12,255)
tbl = event.source.parent.getComponent(‘Table’)
tbl.getTableHeader().setBackground(bg)[/code]