/scribble

Primary LanguageJava

Scribble

Scribble is a basic paint application that demonstrates use of mouse events in java

Motivation

Implemented this simple version of MS Paint to undestand the Java Event Model and Java AWT. Scrible makes use of mouse event and GUI Components such as Canvas, Radio Button and CheckBox. Whenever a mouse drag event is registered, the size of object under operation is increased i.e. It is transformed. When a Mouse release event ccurs, the object under operation is added to the list of Canvas Objects.

Installing

Clone the repository
git clone https://github.com/rahul404/scribble.git 
Compile inside scribble/paint/
javac MyPaint.java 
Run
java MyPaint 

Functionality

  • Save and Open scribbles
  • Draw and color