Originally posted by Michal Charemza:
Is it ok to design my Data class that assumes that lock(), update(), and unlock() are all called from the same thread? This is to use the Thread.currentThread() to try to adhere to the spec for lock():
Originally posted by Joseph Clifton:
I'll work on the looup table in a bit.
As for the exceptions thing, I just want to program to quit when the user clicks "cancel", I don't want a message explaining the exception. That's the reason why I did the catch statement.