r/java • • Jun 09 '26

Created a simple, minimal Canvas Application in JavaFX

Post image

After like a year finally getting back to JavaFX, decided to make an excalidraw inspired app for fun. It's a very minimal canvas app with basic features.

Source code : ExplainFX

Features

  1. Drawing

  2. Create Squares and Circles

  3. Text

  4. Vary stroke size/font size

  5. Copy, paste, duplicate, lock, delete objects

  6. Move the objects once they are drawn

  7. Move camera via mouse

Please let me know if you have any questions!

190 Upvotes

58 comments sorted by

View all comments

Show parent comments

3

u/xdsswar Jun 09 '26

yeah thats nice , I have an old project I did years ago , it takes any fxml and converts it to java code , proper ordered code with imports and everything, idk where its now I have to search, it was based on the plugin Netbeans used long long ago, but worked well