Table Header Unlock

I'm trying to change the background color of the table column header. I've accessed the table header through: tableHeader = Table.getTable.getTableHeader;
I've tried set(tableHeader,'Background',[0 0 0]), in which case I get the following error: ??? Error using ==> set Attempt to write a locked object.
I've also tried tableHeader.setBackground(java.awt.Color[r=0,g=0,b=0]), in which case it gives no error messages, but the background color doesn't actually change.

1 comentario

Matthew Whitaker
Matthew Whitaker el 22 de Jun. de 2011
How are you creating the variable Table?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Econometrics Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 16 de Jun. de 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by