Results 1 to 5 of 5
  1. #1
    Sparky is offline Member
    Join Date
    Jan 2011
    Posts
    32
    Rep Power
    0

    Default NetBeans - error in code?

    Greetings,

    Are “NetBeans” questions allowed –

    I have a simple program –

    Within NetBeans I see no “red” underlining any code –

    Question 1) Why is the compile option grayed out – at one point I could compile now I cannot?

    Question 2) when I select “run” I get that it had problems – Where can I see details describing the problems?

    Thanks
    Sparky

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    If you can see some code segments with red underlining means that there is a compile time error. But still you can see the compile option enable from the Run menu.

    Once you compile the code you can see the error description in output window.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    By the way, please choose the correct sub-forum when you are posting next time. You have posted your question in a wrong place. I'll move the thread to the correct location this time, and pay your attention with the next. :)

  4. #4
    Sparky is offline Member
    Join Date
    Jan 2011
    Posts
    32
    Rep Power
    0

    Default

    Sorry about the wrong location.

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

Similar Threads

  1. Replies: 2
    Last Post: 02-05-2010, 11:47 PM
  2. How to transfer my code to NetBeans IDE
    By ntagrafix in forum New To Java
    Replies: 18
    Last Post: 11-24-2009, 04:33 PM
  3. Netbeans Error?
    By makpandian in forum NetBeans
    Replies: 3
    Last Post: 05-07-2009, 07:22 AM
  4. [SOLVED] Turn off NetBeans code blocker
    By xcallmejudasx in forum New To Java
    Replies: 5
    Last Post: 05-04-2009, 05:07 PM
  5. NetBeans error
    By michcio in forum New To Java
    Replies: 1
    Last Post: 01-27-2008, 11:09 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
  •