Calculator in Java Part 2 - Learning JFrame/JPanel

Published: 30 May 2014
on channel: Sarah Evans
631
1

It's two days later and now the calculator can actually DO something! gasp

Added the following functions:
Equals button (I forgot this last time O_o)
Reset button will clear the panel while a sequence is in progress
Addition (between two integers)
Multiplication (between two integers)
Division (between two integers... no fractions just yet)
Subtraction (between two integers, includes negative answers)
Guard against user selecting more than one operator in succession (ex: 1 +- 2 is not a valid input)

What doesn't work:
Fractions
Operations involving more than three integers (1 + 1 + 1 will currently yield 12!)
No decimals
No negative number input

Thanks for watching! ^_^


On this page of the site you can watch the video online Calculator in Java Part 2 - Learning JFrame/JPanel with a duration of hours minute second in good quality, which was uploaded by the user Sarah Evans 30 May 2014, share the link with friends and acquaintances, this video has already been watched 631 times on youtube and it was liked by 1 viewers. Enjoy your viewing!