Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: HELP - GUI Java Applet Calculator..

  1. #1
    Junior Member
    Join Date
    Feb 2013
    Thanked 0 Times in 0 Posts

    Default HELP - GUI Java Applet Calculator..

    I Attached my Code ..

    Help me on Operation Please

    Number + Number = The Sum of the Number.. In Addition it is Ok already.
    Number - Number = [Here is the problem the answer must be the difference of the 2 number but the answer here is like in addition it add the 2 number and it's the same with multiplication and division..

    Attached Files Attached Files

  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Washington, DC
    My Mood
    Thanked 636 Times in 540 Posts

    Default Re: HELP - GUI Java Applet Calculator..

    Please read the link in my signature on asking questions the smart way, then try again.

    Simply attaching your code isn't really going to get you very far. Instead, post an SSCCE and ask a specific technical question, and we'll go from there.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member
    Join Date
    Mar 2013
    Thanked 0 Times in 0 Posts

    Default Re: HELP - GUI Java Applet Calculator..

    You don't have a setContentPane() method.

Similar Threads

  1. Java Calculator problems
    By why_always_me in forum What's Wrong With My Code?
    Replies: 11
    Last Post: November 26th, 2012, 07:36 PM
  2. Java calculator implementation
    By why_always_me in forum Object Oriented Programming
    Replies: 5
    Last Post: November 15th, 2012, 02:37 PM
  3. Need Help with this Java Calculator
    By jo112205 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: December 13th, 2011, 06:03 AM
  4. Java Calculator
    By helloworld922 in forum Algorithms & Recursion
    Replies: 7
    Last Post: January 10th, 2011, 06:01 AM
  5. [SOLVED] Problem with Grading calculator in java program
    By Peetah05 in forum What's Wrong With My Code?
    Replies: 23
    Last Post: March 28th, 2009, 04:25 PM