This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
i created ListField in blackberry jde. ListField list=new ListField(4); if i say : list.insert(0); it is giving ArrayIndexOutofBounds exception.iam not calling callback.insert() method also(i commented it).can someone help with this please.is CLDC based applications complex to develop? Thanks
Thankyou for the reply. nope its not working. the error is after calling list.setCallback();,the class implementing the interface ListFieldCallback interface is initialised,then the method : public void drawListRow(ListField list, Graphics g, int index, int y, int w) { String text = (String)listElement.elementAt(index); g.drawText(text, 0, y, 0, w); } is being called. listElement is a java.util.Vector. here listElement.elementAt(index) is giving ArrayIndexOutOfBoundsException in the tutorial also the code is exactly like this. regards