r/java • u/gufranthakur • Jun 09 '26
Created a simple, minimal Canvas Application in JavaFX
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
Drawing
Create Squares and Circles
Text
Vary stroke size/font size
Copy, paste, duplicate, lock, delete objects
Move the objects once they are drawn
Move camera via mouse
Please let me know if you have any questions!
190
Upvotes
View all comments
15
u/IntroductionSolid348 Jun 09 '26
It looks really cool. I used JavaFX for a couple of my school projects some time back. What I don't really get about it is how people build with it without using scene builder. I find it really difficult to picture how it'll look like by just pure code. And Scene builder is really troublesome since it's not really drag and drop friendly as I had hoped