A basic Java GUI homework for programming class.