uitable ColumnHeader background color

Hi everyone, I'm customizing a gui with an uitable. I've managed to change the color of a single cell, rows, cell selection color, the big grey backgroun of the uitable, and the RowHeaders background color to change that I do this.
jtable = findjobj(handles.uitable1);
jtable.getComponent(4).getComponent(0).getTableHeader.setBackground(javax.swing.plaf.ColorUIResource( 0, 1, 0) )
I've tried similar things for the ColumnHeader Backgroun but whitout success. Can anyone tell me how to do this?
Thank you very much and sorry for my english.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

질문:

2013년 9월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by