small simle notebook implemented in java