java me - Refresh Theme() gives Array index out of bounds exception in lwuit -


i using lwuit making j2me mobiles app . , in 1 form need remove component container , have add component , , after doing calling refreshtheme() , revalidate() function, changes on form can reflect on screen, sometime calling these function gives error "array index out of bounds: 2>=2" or "array index out of bounds 0>=0" . error doesn't come always.
there solution this?

this happens when violating edt, should use callserially() when accessing lwuit.


Comments

Popular posts from this blog

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -

matplotlib - PYTHON: Annotate boxes disapear dependant on range -