(Sorry for posting here, but I am currently unable to post to
pivot-u...@. Raised INFRA-2109 about it)

Guys,

I am struggling with TablePane, as it consistently refuse to work in a
fashion that I find "natural".

If I add() the ImageView instances to it, they all show up in cell
[0,0], and if I call setCellComponent() I get a
IndexOutOfBoundsException, even though I have added 2 columns and 1
row (in that order) before trying to set the cell.

But before starting on the real deal, I created an example where the
Rows were added before the Columns, and that worked.

How is it really intended to work?

Looking at the code, If one adds a Row, then all Components found in
the Row is added to the Pane, but I one adds a Column this is not
done.
Why do I need to bother with these kinds of details at all? Shouldn't
it be so much more natural to just have an indicator on how many rows
and columns one want, and a easier way to insert a new empty row or
column?
I just don't understand the thinking here...

Cheers
-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug

Reply via email to