Results 1 to 3 of 3
  1. #1
    kumarv75 is offline Member
    Join Date
    Jun 2010
    Rep Power

    Smile Bugs in calculator

    I have a question whnever I do any operation like 6*. or 5+. and so on I get a number formating execption and also I am able to enter values like which should not come in a calculator another bug I face is values get append to the result say if I calculate 6+2 and press = gives 8 when I press a new avlue it gets appended to 8 like if I enter 5 then it comes as 85......Can u help me in this prob that I am facing :)

  2. #2
    nitinverma is offline Member
    Join Date
    Mar 2010
    New Delhi,Vadodara
    Rep Power


    Check ur Code,
    This is the logical error.
    When u press new number u have to check the text box is empty or not. then proceed to next step.

  3. #3
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power


    Where else is this question posted? I've already answered the question there.

Similar Threads

  1. who let the bugs out, who-who-who!
    By FON in forum Introductions
    Replies: 1
    Last Post: 12-11-2009, 04:05 PM
  2. Calculator
    By water in forum AWT / Swing
    Replies: 4
    Last Post: 09-23-2009, 07:00 AM
  3. Replies: 3
    Last Post: 08-19-2009, 04:54 AM
  4. My first Java project, encountering bugs
    By beatzz in forum New To Java
    Replies: 1
    Last Post: 03-17-2009, 09:32 PM
  5. Calculator help.
    By madkidd02 in forum New To Java
    Replies: 2
    Last Post: 10-25-2008, 08:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts