Hi Jochen:

One other item of note: you might want to eliminate the ability of the user
to enter an arbitrary value. For example, what happens if I enter -32767? or
65536 as the value for "number"?

Consider implementing the source of "number" as a listbox with a limited
size so that it't not possible to generate an absurd value for "number". Is
it the case that cardinality can range from zero to (say) five?

On Wed, Mar 24, 2010 at 8:13 AM, Jochen Schnaidt <j.schna...@t-online.de>wrote:

> Hi,
> I got it. The solution via List works.
>
> For the next with this problem, here is my solution:
>
> List<TextBox> trackList = new ArrayList<TextBox>();
> ....
> for (int i = 0; i < number; i++) {
>  TextBox track = new TextBox();
>  trackList.add(track);
>  generateEventHeadPanel.add(track);
> }
> ...
> String text = trackList.get(index).getText();
>
> Thanks a lot.
> Jochen
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to