r/learnjava • u/case_steamer • Jan 30 '26
I built a file explorer
I've posted a lot about this both in here and in r/javahelp, and I just wanted to show off the final product real quick!
Code critiques and whatnot welcome. Although, I'd be more interested in feedback on the overall structure of the program. Did I do a good job demarcating and structuring my classes? With some Java programs I read, the whole gui gets put together in the Main class, and I don't understand why a person would do that.
Anyway, here's the repo: https://github.com/case-steamer/Librarian/tree/master
EDIT: Thanks to someone else's kind advice in the other sub, I was able to successfully build and package a FatJAR and Installer (.deb). This project is now complete, beginning to end. I'm off to celebrate!
View all comments
Show parent comment
1
u/case_steamer Jan 31 '26
I didn’t know what to call it 😅. It’s the main logic handler for the program. Any time something triggers a state change, the Brain is what collects the data and serves it to all the parts. Suggestions welcome for what it should be called 😅.
Here’s a demo: https://www.reddit.com/user/case_steamer/comments/1qs5m3q/librarian_demo/