Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Oscar Montgomery   on Oct 09 In Java Category.

  
Question Answered By: Randy Warren   on Oct 09

Try making the for loop as follows, otherwise, initialize the individual
elements of the checkerArray before sending in to the checkerRows. The
problem is you initialize the array. that is fine. But, you havenot
initialized the individual objects (for eg., checkerArray[0]) which you pass
in as parameter.

for(int f=0; f<checkerArray.length; f++)
{
checkerArray[f] = new TextField();
checkerRows.add(checkerArray[f]);
}

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Report of Daffodi DB Or get search suggestion and latest updates.


Tagged: