Hi,

at the moment my 'number' is a Integer.parse of a String from a
TextBox in a try/catch with errorhandling but my layout is not
finished yet.

Thanks for the idea, I didn't thought of that until now.

On Mar 24, 4:19 pm, Jeff Chimene <[email protected]> wrote:
> 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 
> <[email protected]>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 [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-web-toolkit%[email protected]>
> > .
> > 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 [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=en.

Reply via email to