You could try setting up your program so that every time someone typed into your text field, it would fire an event. Everytime you received said event, you could increment a variable by 1. When the variabe reached its maximum, then you could have the next component request focus, and even set the text field to read only if you'd like.