Table Component Color

Is there any way to change the color of the unfilled portion of a table component?

bump… only 'cause it’s been a couple of days…

Unfortunately, that background color is not currently exposed on the component. However, you can add a simple script to change the color. Right click on the component and select Event Handlers. Click on propertyChange and add the folllowing script:

if event.propertyName == "data": from java.awt import Color table = event.source.parent.getComponent('Table') table.getViewport().setBackground(Color(0,255,0,255))This script will set the color whenever the data property changes. We will add this property to the component and it will be there in the next release.

Cool! Thanks, Travis!