Java course design example - java source code