CS108 Page Title

HW4 Threads FAQ

What should happen when the value in the JCount text field is changed while a thread is running?
Nothing should happen immediately. The new value will get used on the next run (i.e. when you click start again).
For part B, does the order of the printouts matter?
For the single-thread case, it should be in the right other. For multi-threaded runs, order doesn't matter.
For part A, does the Account need to use the pointer to the Bank?
No, it's not required, it's just how our solution happens to work.
On Part C, I get a NoClassDefFoundError. What might be causing this?
We don't know what causes the NoClassDefFoundError. However, you can make it go away by consolidating your code in such a way that only a single call to SwingUtilities.invokeLater() needs to be made.