So basically I want to do the following:
String s1 = "hello";
for(int count = s1.length() -1; count >= 0; count--){
System.out.printf("%c, ", s1.charAt(count));
}
but do that in a label instead. How can I format a label like printf? Using setTextf does not woek as seen below:
String s1 = "hello";
for(int count = s1.length() -1; count >= 0; count--){
label1.setTextf("%c, ", s1.charAt(count));
}