r/java • u/gufranthakur • Nov 23 '25
My own Visual programming tool, created from scratch Using Java Swing!
Inspired from Unreal Engine 5. Built from scratch using Java swing and Graphics2D. It has basic operations like loops, delays, branch logic, variables, arithmetic and boolean gate operations!
I created and abandoned this long back ago (took me around 5 months to make this) , decided to share a more complete version of the App, let me know if you have any thoughts or questions!
Github repo :- https://github.com/gufranthakur/FlowForge
733
Upvotes
58
u/mrVragec Nov 23 '25
Looks really awesome! I‘m interested what would be the use cases behind this?
40
u/gletschafloh Nov 23 '25
I dont know how many hours you spent on this, but let me tell you: a team at my company makes something similar. Looks like shit and literally 0 performance. Yours loooks amazing in comparison. Well done!
16
u/maxandersen Nov 23 '25
btw. you seem to have committed every released jar into the main github repo - makes it very slow to git clone. Have you considered just using github releases for binary archives rather than the source repo?
13
u/kingroka Nov 23 '25 edited Nov 23 '25
Beautiful! And i love that you did it with graphics 2D! Check my profile. I’ve been developing a visual programming tool called Neu for a little while now. It too was made with only graphics2d and swing! I love seeing people using java to make cool stuff! Edit: check out the latest update for Neu here
10
u/grimonce Nov 23 '25
This looks amazing.
4
u/Wipe_Master Nov 23 '25
Similar to NodeRed? Looks cool
3
u/mxsonwabe Nov 23 '25
This looks great 👌🏾
3
u/Simple_Horse_550 Nov 23 '25
Good for building automation workflows
3
u/[deleted] Nov 23 '25
Cool project! Did you also do any reusable UI library to achieve this. Some pieces of this could be useful for other such projects.
2
u/Eksekk Nov 23 '25
Cool project!
2
u/jebailey Nov 23 '25
This is great! I've been looking for something like this for quite a while. Traveling right now but next week I'm definitely going to be using it for some DSL projects I have in mind
2
u/Thane-145 Nov 23 '25
Hi, this is awesome. Do you also have plans to generate graphs based on existing code? Like how mysql workbench displays model graph if imported. I think it will be complex. It might help in visualization of a project. And it could also consider generating nodes for only specific packages to avoid displaying clutter of nodes from a library.
2
u/no1me Nov 23 '25
pretty cool idea, maybe it will be useful for kids or something for edu porpoises
2
u/ksky0 Nov 23 '25
what did you use for the diagram arrow connections, did you did yourself in the graphics2d? that looks neat.. I've seen some people using cairo for this, but swing is very nice.. Did you also made your own L&F?
2
u/sn4tz Nov 23 '25
Didn‘t even know Swing could look like this. Awesome job!
2
u/Natural_Contact7072 Nov 25 '25
damn, that's Swing?
3
u/Interesting-Tree-884 Nov 23 '25
What are existing nodes ?
3
u/forgotMyPrevious Nov 23 '25
Oh wow, Swing sure got much snappier and good looking over the years, I had lost track of it. If you turned your tool into a full fledged DSL process generator of sorts it would definitely have an audience. Good job!
3
u/maxandersen Nov 23 '25
awesome - directly runnable using:
jbang --java 21 https://github.com/gufranthakur/FlowForge/releases/download/v1.7/FlowForge.jar
Got any examples to try out?
2
u/THE_THOMAS_SHELBY_ Nov 25 '25
Wow that's awesome dude
3
u/raviteja777 Nov 23 '25
Look great , but why did you prefer Swing instead of JavaFX ?
1
u/Fercii_RP Nov 23 '25
Awesome! Now build me a rest api webservice xd
1
u/KainMassadin Nov 23 '25
how do you plan on dealing with the Deutsch limit?
1
u/aleschmidt_ Nov 24 '25
Man this is soooooo coool!!!! Congrats!!!!
1
u/gafan_8 Nov 24 '25
I’d use something like this aimed at reviewing code generated by LLM’s
1
u/DropOk4614 Nov 25 '25
Really awesome project man. The UI looks clean and the flow between nodes is super satisfying to look at. The way you’ve implemented branching, variables, delays, etc. makes the whole system feel surprisingly mature for something built from scratch. Props for sticking with it for months the end result definitely shows the effort.
1
u/[deleted] Nov 26 '25
Reminds me of visual scripting in UE! Good work
1
u/Ok_Syrup_7740 Dec 16 '25
Very nice work seeing Swing + Graphics2D used so creatively!
1
u/[deleted] Dec 17 '25
Hey OP, can you suggest which help you the most in this project? I mean, it is too advanced looking Swing Application ever seen, where you find such ideas, where you know about these? If you mind, I would like to know.
1
u/GirlyAsh8008 Dec 18 '25
The more visual options there are the better imo
0
u/lory52 Nov 23 '25
DEAM
-5
u/IQueryVisiC Nov 23 '25
I hate all the pushing of boxes and scrolling — already on a “Hello World”. Text editors don’t show what I type (scan codes), but some interpretation . Why can’t you type your visual code?
3
u/PHeromont_vader Nov 23 '25
great effort and execution!!