When posting code, please use the highlight tags to preserve formatting. I also recommend following naming conventions (classes start with a capital letter) and best practices (empty catch blocks are...