I know that I'm missing something basic here (possibly stressed out
due to impending demo :) but I can't see why my second row is not
being added to the table:
[code]
String[] platformHeaders ={ "p1","p2","p3",
"p4", "p5","p6", "p7", "p8"};
String[] buildHeaders = {"h1", "h2","h3", "h4","h5",
"h6", "h7","h8"};
FlexTable buildTable = new FlexTable();
int headerCount = buildHeaders.length;
int headerCountP = platformHeaders.length;
for (int i =0; i < headerCountP; i++)
buildTable.setText(0, i, platformHeaders[i]);
for (int i =1; i < headerCount; i++) {
buildTable.setText(1, i, buildHeaders[i]);
[/code]
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=.