I have a uitable with the last column being checkboxes. Rows represent processes, when the process is complete, I want to make it check the box and fill the cell with green.
If there was an error, I want to be able to choose to turn it red, or yellow.
How do I change the background color of a checkbox or logical cell?

 採用された回答

Walter Roberson
Walter Roberson 2013 年 7 月 1 日

0 投票

You have a look at undocumentedmatlab to find out how to gain access to the Java level of the uitable, and you work at that level. There is no MATLAB interface for changing the color of checkboxes in uitable.

1 件のコメント

Andrew Reibold
Andrew Reibold 2014 年 7 月 10 日
Was looking through my question history and saw I never accepted this. I did in fact eventually have to use Java to change the colors. Thanks

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCall Java from MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by