Sunday, December 4, 2011

Simple Calculator Applet

Since I've been playing the last few days with Java applets, I decided to create a simple calculator. In the right you can see the result.

How the applet works:
  1. User inputs one or two values (depending of what operations he needs to be done)
  2. The user selects the operation by clicking of the central buttons.
  3. The result appears in the result TextField and the bottom list.
What it can do for now:
  • v1.01
    • The result text box is no longer editable
    • Better log (it now shows which operations were made)
    • The ability to reload automatically operators by clicking a log entry
  • v1.00
    • Basic arithmetic operations (addition, subtraction, multiplication, division, modulo, power, square root, natural logarithm)
    • Trigonometric functions
    • Saving the results in a list

No comments:

Post a Comment

Got a question regarding something in the article? Leave me a comment and I will get back at you as soon as I can!

Related Posts Plugin for WordPress, Blogger...
Recommended Post Slide Out For Blogger