Im having problems with my threads being passed through to my array list, any help at all would be greatly appreciated.
What problem are you having? It will be easier to help if you TellTheDetails (<- click that link).
Also, can you please edit your code and UseCodeTags (<- another link). It will make the code easier to read. I would do it for you, but it looks like the code is unformatted (not indentation) so I didn't want to possible mis-interpret the code. So could you add the code tags and make sure things are spaced/indented appropriately?
Hi Steve thanks for the reply, The main problem I am having is I am unable to save Information to the array, in order for it to be sorted and searched through. My apologies for the poor layout, Hopefully this is it fixed now.
No, that isn't any better. First: you are doing too much on a line. Read this: DontWriteLongLines. Not only does it make the code hard to read on the forum, but it also usually means the code line is too complex to understand. If you need to, format the parameters of methods adding white space to make them readable. for example, I took the wage line and changed it to this:
See how much easier that is to read? I don't understand what it is doing because I don't know what BankAccount does, or what any of those Strings and booleans, and other things are supposed to be. But at least I know what values are parameters to what methods/constructors.
All that said, you are giving us non-functional snippets of code (still un-formatted, with no indentation so hard to read) which no context and no real description of the problem. You need to step back. Create a new example: what is called an SSCCE (<- link to click) that gives us just the bare minimum required to see your problem (no GUI, no extra distractions or unnecessary classes or methods, just the minimum to show the issue). Make sure it is complete, so we can copy it and compile it, and run it to see your issue without having to guess or fill in the blanks. Then you need to explain what your problem actually is. Saying 'I am unable to save information in an array' does not help. Which array? What makes you unable to do so? An error message? A man standing over your shoulder pressing the backspace key whenever you type [ or ]?