troubleshooting Question

Java Applet - Reading input from user

Avatar of luna621
luna621 asked on
Java
31 Comments3 Solutions592 ViewsLast Modified:
Hello,

This applet will take a person's name & ID number, and stores it in a sorted list.  When the user clicks the add button, it will read what the user inputted in the name & ID textfields, and store the person in a listed sorted by the ID number.  The three buttons: Remove First, Remove Last, Clear List, will be disabled if there are no items in the list.  If any error occurs, an error message will be displayed and the ok button (initially disabled) will be enabled.

Question:  How do I read input from a user?

Thank you!

-luna621 =^^=

--------------------------------------------------------------------------------------------------
Here's the applet:  http://www2.hawaii.edu/~flam/a04.html

Sorted List codes:

1. http://www2.hawaii.edu/~flam/DLN.java
2. http://www2.hawaii.edu/~flam/ISortedList.java 
3. http://www2.hawaii.edu/~flam/Person.java
4. http://www2.hawaii.edu/~flam/SortedList.java
5. http://www2.hawaii.edu/~flam/SortedListException.java

 
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 3 Answers and 31 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 31 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros