From: Jorian on
"Yair Altman" <altmanyDEL(a)gmailDEL.comDEL> wrote in message <gvs7q9$i6j$1(a)fred.mathworks.com>...
> "Hans Gohle" <ghostryder(a)gmx.de> wrote in message <gvmama$fte$1(a)fred.mathworks.com>...
> > Hi all,
> > http://forums.adobe.com/message/2642616
> > I tried the following CellRenderer provided by Yair Altman:
> >
> > [1] http://www.mathworks.de/matlabcentral/newsreader/view_thread/150507
http://forums.adobe.com/people/Paydayloan
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
>

Yes! it is good