Craig Myles

Artificial Intelligence

Biomedical AI

Digital Health

Craig Myles
Craig Myles
PhD Student

St Andrews University

Artificial Intelligence

Biomedical AI

Digital Health

Portfolio

Java Swing Vector Drawing Program

23rd Sep 2021, 13:30Apps
Java Swing Vector Drawing Program headline image

This work was part of St Andrews' CS5001 coursework. Please feel free to download the .jar and play around with the drawing app. The app has a number of features including the ability to implement various different shapes in any given colour.

Additionally, undo/redo functionality provides improved user experience. From the drawing window, .draw files can be saved or opened which is a lossless vector format which seralialises and maintains shape positions, colours and sizes. In addition to this, .png files can be exported in the file menu.

Java Swing Vector Drawing Program headline image

This app has some room for improvement and so there are a small number of features which could be added to increase user experience. Some things which could be added may include:

  • Ability to edit the colours of existing shapes.
  • Ability to copy/paste or duplicate existing shapes.
  • Ability to set a background colour.

A link to the GitHub repository as well as the .jar is accessible here: https://github.com/craigmyles/java-vector-drawing-program

Get in Touch
Contact Form

Thanks, your message is sent successfully.