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

Matthew Whitaker
Matthew Whitaker 2011년 6월 22일
How are you creating the variable Table?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Econometrics Toolbox에 대해 자세히 알아보기

태그

질문:

2011년 6월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by