Hi,
I have a small problem.
I have orderTypeList array list. I don't know exactly how to display each recod in new line.
In way as follow I removed bracket and my problem is still to display each record in ne line.
String ordType ="" ;
for (String s: orderTypeList) {
System.out.println("S is "+s);
ordType=s;
}
This is my whole code:
StringTokenizer token = new StringTokenizer(imageAtributesItem.getOrderTypeImage(), ",");
String ordTypOfUsestr="";
while (token.hasMoreTokens()) {
ordTypOfUsestr = token.nextToken().trim();
if (ordTypOfUsestr.length()>0) {
orderTypeList.add(ordTypOfUsestr);
}
}
System.out.println("orderType list is "+orderTypeList);
String ordType ="" ;
for (String s: orderTypeList) {
System.out.println("S is "+s);
ordType=s;
}
System.out.println("\n"+ordType+"\n");
item.add(new Label("orderTypeOfUseLabel",ordType+"\n"));
Thanks for help!
Regards,
Rafal
--
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en