2005-06-10-0356Z


MrCreditRepair.biz will fix your credit rating!

I guess not too many people have had this problem; I was getting an ArrayIndexOutOfBoundsException inserting into a List subclass beyond the first element. The stacktrace showed the problem occurred at javax.microedition.lcdui.ChoiceGroup.insertImpl(), which doesn't even appear in my version of the API docs. And the only reference to this error I could find on the web was at this Brazilian java BB; and it just had the question, no answers. Anyway, after hacking on it all day, I finally figured out that you can't mess with the fonts on the List elements as you're adding them; append them all first, then loop through and tinker with the fonts or whatever. Bleah.

Back to blog or home page

last updated 2013-01-10 20:37:17. served from tektonic