The source code for my final year project in Java