Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Changing cell color in uitable
Date: Sat, 11 Jul 2009 20:52:03 +0000 (UTC)
Organization: University of Utah
Lines: 7
Message-ID: <h3au1j$h43$1@fred.mathworks.com>
References: <ef5b1e4.-1@webcrossing.raydaftYaTP> <ef5b1e4.0@webcrossing.raydaftYaTP> <ef5b1e4.1@webcrossing.raydaftYaTP> <ef5b1e4.2@webcrossing.raydaftYaTP> <ef5b1e4.3@webcrossing.raydaftYaTP> <h1tb21$m3v$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1247345523 17539 172.30.248.35 (11 Jul 2009 20:52:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 11 Jul 2009 20:52:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 811741
Xref: news.mathworks.com comp.soft-sys.matlab:554692


table.getColumnModel.getColumn(1).setCellRenderer(c);

I am having the same problem as Kunjesh.  I have compiled the .java code to a .class and placed it in the path.  But since the variable 'table' is not in the matlab workspace so it won't work like this.  There has to be a way to set the renderer 'c' as the renderer of the specific uitable (for example) uitable1 in the Guide GUI.
If someone knows how this can be fixed, more than one of us will be really happy.  
Please?

Camron