Simple Drawing Application in Java (for object-oriented programming exercise)