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.


>> REGISTER NOW TO START POSTING


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

Results 1 to 4 of 4

Thread: what the stupid problem in using netbeans

  1. #1
    Junior Member
    Join Date
    Nov 2011
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default what the stupid problem in using netbeans

    Sometimes i write a code in netbeans and try to run but it doesnt. i delete one letter and write it again after that it is working

    For example piece line of code is like that

    ArrayList<String> al = new ArrayList<String>();

    and whole code doesnt work and i delete any letter "A" (or any space letter)

    rrayList<String> al = new ArrayList<String>();

    and write same letter again
    ArrayList<String> al = new ArrayList<String>();

    after that it is working!

    all i did that just delete and write same any letter can solve this problem

    what is reason?


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: what the stupid problem in using netbeans

    Define "works" and "doesn't work". Did you re-compile your code (and save it)? Is it actually compiling/running incorrectly, or is it just the auto-complete that's warning you of an error?

  3. #3
    Member
    Join Date
    Nov 2011
    Posts
    39
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: what the stupid problem in using netbeans

    Well, the auto-compile usually have a little bit delay after you typed the code, so you should be patient.

    Spring 3
    Last edited by cafeteria84; January 22nd, 2012 at 04:02 PM.

  4. #4
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: what the stupid problem in using netbeans

    Quote Originally Posted by cafeteria84 View Post
    Well, the auto-compile usually have a little bit delay after you typed the code, so you should be patient.
    Exactly. And also, compile manually to avoid such problems.

Similar Threads

  1. Installing JMF, setting up Classpath in Netbeans Problem
    By chronoz13 in forum Java Theory & Questions
    Replies: 0
    Last Post: May 19th, 2011, 09:11 AM
  2. Problem with java swing JButton in Netbeans IDE
    By vrp in forum What's Wrong With My Code?
    Replies: 2
    Last Post: January 12th, 2011, 11:38 PM
  3. "The import ___ cannot be resolved" (stupid noob question)
    By RobG in forum What's Wrong With My Code?
    Replies: 2
    Last Post: December 18th, 2010, 03:09 PM
  4. Stupid thing can't find image icon right in front of it!!!
    By javapenguin in forum What's Wrong With My Code?
    Replies: 14
    Last Post: July 9th, 2010, 01:02 AM
  5. My doubt may be stupid
    By kalees in forum Object Oriented Programming
    Replies: 2
    Last Post: September 22nd, 2009, 02:38 AM