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
Show parent comment
2
u/Yew5D4j8e1j4 Jun 09 '26 edited Jun 09 '26
I just can't do that, maybe cuz I'm a beginner?
I'm building an app where 95% of the UI is dynamically generated through code. Still I use SceneBuilder to mock up components with fake data then style it with CSS using the live preview then map it back to code.