Inspiration
I was inspired to make this by myself. I wanted to create something small.
What it does
The program is a calculator. It can add, subtract, multiply, and divide.
How I built it
I used a JFrame and when a button was pushed. I took the values from two boxes and the operation sign and then completed the calculation. I then changed the label to be the answer.
Challenges I ran into
I had to learn how to get the values from text boxes and drop-downs. I had to learn how to use the values from text boxes and turn it into an integer.
Accomplishments that I'm proud of
I was able to figure out how to turn strings into integers.
What I learned
I learned how to get values form text boxes and how to turn strings to ints.
What's next for Calculator
I might make it more advanced by adding more operations.
Log in or sign up for Devpost to join the conversation.