Re: Funky problem with JTable cell rendering
From: Christian Kaufhold (usenet_at_chka.de)
Date: Tue, 4 Jan 2005 14:37:38 +0000 (UTC)
Jan Danielsson <email@example.com> wrote:
>> Your implementation is wrong in some places:
>> 1. It will fail with an exception if the TableModel happens to have
>> zero rows at one time.
> How come? When does getColumnClass() get called, other than when there
> are rows?
By default, probably never. But nowhere is it stated that the class of
column is not undefined just because there are no rows.