|
"Hans Gohle" <ghostryder@gmx.de> wrote in message <gvmama$fte$1@fred.mathworks.com>...
> Hi all,
>
> I tried the following CellRenderer provided by Yair Altman:
>
> [1] http://www.mathworks.de/matlabcentral/newsreader/view_thread/150507
>
> It provides a function to change the background color of one specific cell. Unfortunately, this is not exactly what I'm in need of. I use a uitable object and place checkboxes in each column. What I would need is a CellRenderer that marks the background of the checkbox element if I execute a function. So basically it should have the same functionality as in [1] but it should also work with checkbox elements. Can anybody help me with that?
>
> Thanks,
> g.
Checkboxes have their own renderers, and in general use the system controls or standard PLAF (Look-&-Feel) UI. If this is Chinese to you then it basically means "no it can't be done" - otherwise go right ahead and modify the PLAF UI or write your own Java checkbox class... Some good pointers here: http://forums.sun.com/thread.jspa?forumID=57&threadID=623605
Yair Altman
http://UndocumentedMatlab.com
|