Sample application for training to JavaSwing