data3 is Object[][] data3 = { {1,1,1},
{1,1,1},
{1,1,1}
};
> > Dear Java experts,
> >
[quoted text clipped - 42 lines]
>
> - Oliver
Oliver Wong - 12 Jul 2006 15:39 GMT
[post re-ordered]
>> > ((Integer)data3[i][j]).intValue();
[...]
>> The data3 on the 8th line of code that you posted never gets declared
>> anywhere. Please post an SSCCE: http://mindprod.com/jgloss/sscce.html
[quoted text clipped - 5 lines]
> {1,1,1}
> };
Why don't you declare data3 as being an int[][] and not casting to
Integer?
- Oliver