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.

Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 17 Sep. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by