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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!