Java project illustrating thread activity and some simple GUI