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 2 of 2

Thread: beginner wanting to become intermediate resulting in advance level

  1. #1
    Junior Member
    Join Date
    Apr 2012
    Thanked 0 Times in 0 Posts

    Default beginner wanting to become intermediate resulting in advance level

    Hey I compiled and run a programmed that should display a text field near the top of the frame that iv'e designed already, but its not showing the text field. It gives me the following error:

    Exception in thread "main" java.lang.NullPointerException
    at Calculator.<init>(Calculator.java:31)
    at Calculator.main(Calculator.java:43)

    What does this error mean to the code i have coded thus far to create a basic calculator? Please help?

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

    Default Re: beginner wanting to become intermediate resulting in advance level

    Please read this: http://www.javaprogrammingforums.com...e-posting.html

    I suggest you post in a more appropriate forum, with a specific question and an SSCCE that demonstrates the problem. For more information, check out the link in my signature on asking questions the smart way.
    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!

Similar Threads

  1. (Beginner/Intermediate) Tic Tac Toe game issues
    By Sylentwolf8 in forum What's Wrong With My Code?
    Replies: 5
    Last Post: January 17th, 2012, 08:03 AM
  2. Replies: 3
    Last Post: October 19th, 2011, 11:55 PM
  3. Replies: 3
    Last Post: March 8th, 2011, 07:44 AM
  4. Quick, beginner-level Java question.
    By DHG in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 27th, 2011, 01:06 PM
  5. Um, ya, wanting to do a little more than my program can take
    By aussiemcgr in forum Java Theory & Questions
    Replies: 5
    Last Post: September 3rd, 2010, 04:36 PM