Control P5 setText() problem - arrayIndexOutofBounds error!
in
Contributed Library Questions
•
3 years ago
Hi,
I am using controlP 5 library to display text or rather a paragraph of words or more (1000 words).
I keep getting random arrayIndexOutofBoundsException error when using setText(). here's my code....
-
public void controlEvent( ControlEvent theEvent ) {if( theEvent.isGroup() ) {eventValue = int(theEvent.group().value() );println("eventValue before display "+eventValue);}
-
sPost = ""+post.get(eventValue);textArea_3.setText( sPost );
Hope you can advise, how I should solve this problem? May I know if there are other similar library to controlP 5?
AK
1