Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

haxxorsid/swing-paint-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is Swing Paint Application ?

A basic paint application based on Java swing made for College as a Mini-project.

Features

  1. Draw strokes with pencil tool and set thickness.
  2. 11 Quick color selection buttons.
  3. Provided with Color Picker (Swatches, HSV, HSL, RGB, CMYK) using JColorChooser.
  4. Small size, easy-to-understand code.
  5. Save, Save As, Load buttons to Save/Load you work using Interactive JFileChooser.
  6. Undo, Redo
  7. Nimbus Look and Feel theme.
  8. Set Canvas size. ( Minimum recommended: 900x800)

Screenshots

Setting Canvas Size

OptionPane for setting canvas size

Paint Application

Application

Save, Save as and Load. ( JFileChooser)

Save Window Load Window

Color Picker ( JColorChooser)

Color Picker

How to use this repository

  • Fork it.
  • Click on Clone or download button in top right corner.
  • Download zip.
  • Extract.
  • Open eclipse or any IDE and Import project.
  • Run InputWH.java.
  • If you're experiencing NullPointerException issue regarding images, the images stored in /bin folder might not be downloaded, so please download them manually from this repository from bin folder and link/copy those images with your project in eclipse.

Note

All icons used in the project are placed in /bin folder. So if you're experiencing any NullPointerException issue, please link/copy those image files in your project properly.