Inspiration
So to be honest, this was my first Hackathon, and I don't have any prior experience in project building, or any project with team. So I went for something simple and easy, to see if I can make a project by myself or not, and I did make a calculator by the end.
What it does
It's a simple Calculator, which has the following operations :- 1) Addition 2) Subtraction 3) Multiplication 4) Division
How I built it
So, I was learning the basics of Java Swing, and GUI using Java libraries, so I thought of making a Calculator, as that was the first thing that popped in my mind, and it seemed simple enough to make.
Challenges I ran into
1) The First challenge I ran into was setting the layout of the various buttons, as I am not that well into grids in UI, so I had to map everything, and then go on and on testing each value of 'x' and 'y' so that each button looks well placed. It did look fine, but it wasn't good looking. It felt a bit shaken. So, I looked at some layout code for the calculator, and took from that part.
2) The Second issue was building the project. I have never built a project. All I have done is run it from the IDE/Terminal. So I had to delete a few stuff, but it still gave few errors even after adjusting things. So to cope with it, I had to add a .bat file to run the program.
Accomplishments that I'm proud of
I am very proud that I made something and came up with this calculator. Even though it may seem vague and not much, but its my first project ever, my first Hackathon ever, and I am very proud of myself, even I do hope to win at least Best Beginner prize.
What I learned
I learned a lot of Layouts, Grids in JPanel, JButtons, and ActionListener, which I had not known before. So it was a whole learning experience for me.
What's next for Simple Calculator
Well, I have planned of adding more supercool features like sin, cos, tan like trigonometrical features, which is like a Casio Scientific Calculator. I will make initialize a Git Repository, and work on it. But currently, I have thought of learning C#, C++ .
Log in or sign up for Devpost to join the conversation.