Hello everyone!! I am having two problems with a JMenu program I am working on. First, the Existing User Panel - I know that I need a for loop to determine if the password entered for an existing user is in the ArrayList Users, however when determining if the password entered is "terminator" (which is the guest password) I do not need it, so I am having trouble determining the best way to set this up. Does anyone have any ideas for me?
The second thing I am struggling with is populating the data fields in the Current Salesman Panel. I am just not quite sure how to go about this. What I would like to happen is when a user enters the name of a Salesman then their previous entry of information pops up in all of the fields and then the next time their name is entered the newest data after that pops up into the fields. Anyone have any ideas for this part?
I will post the entire code if anyone needs/wants me to. I wasn't sure if it would be easier to just show the parts that I am unsure of or the whole thing, so if you would like me to post the whole thing I would be happy to. I would greatly appreciate any tips or help anyone could give me. Thank you so much in advance.
Oh also, on a text area called output is their a way to put a JScrollPane? Here is an example of a text area I am using:
Thanks again!!!