Text Field Input  
Author Message
dave





PostPosted: 2006-4-15 7:50:00 Top

java-programmer, Text Field Input I have a JFrame where I hold visible only and employee ID number. I
can input the employee number, retrieve the employee information from a
database, and then display the information on the screen.

I then want to enter hours on the same form. I can bring the
appropriate text field visible, but can't seem to get the code to halt
execution in order to input hours and then compute payroll.

How do I bring a new field visible and then halt code for the input,
several times, on the same form, bringing only the appropriate fields
visible as necessary?

Hope that made sense.

 
Oliver Wong





PostPosted: 2006-4-16 0:46:00 Top

java-programmer >> Text Field Input
"dave" <email***@***.com> wrote in message
news:email***@***.com...
>I have a JFrame where I hold visible only and employee ID number. I
> can input the employee number, retrieve the employee information from a
> database, and then display the information on the screen.
>
> I then want to enter hours on the same form. I can bring the
> appropriate text field visible, but can't seem to get the code to halt
> execution in order to input hours and then compute payroll.
>
> How do I bring a new field visible and then halt code for the input,
> several times, on the same form, bringing only the appropriate fields
> visible as necessary?
>
> Hope that made sense.

It didn't make sense to me. Are you saying you're making fields visible
and/or invisible, depending on what data you want from the user? Like a form
will have "employee ID" and "hour" fields, but only one of them will be
visible at a time? Sounds like a really weird GUI design to me.

- Oliver

 
Monique Y. Mudama





PostPosted: 2006-4-19 7:20:00 Top

java-programmer >> Text Field Input On 2006-04-14, dave penned:
> I have a JFrame where I hold visible only and employee ID number. I
> can input the employee number, retrieve the employee information
> from a database, and then display the information on the screen.
>
> I then want to enter hours on the same form. I can bring the
> appropriate text field visible, but can't seem to get the code to
> halt execution in order to input hours and then compute payroll.
>
> How do I bring a new field visible and then halt code for the input,
> several times, on the same form, bringing only the appropriate
> fields visible as necessary?
>
> Hope that made sense.

I don't understand what you mean by halting the code.

--
monique

Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html