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: Program is attempting to change booleans yet the result is unsuccesful.

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default [SOLVED] Program is attempting to change booleans yet the result is unsuccesful.

    Please delete
    Last edited by CoolGuy134; September 26th, 2011 at 01:34 AM.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    18,584
    Thanks
    45
    Thanked 1,956 Times in 1,930 Posts

    Default Re: Program is attempting to change booleans yet the result is unsuccesful.

    I did a Search for setItemPrice and only found it in one place in your post: the last line.
    Where is this method defined?

    To debug your code add plenty of printlns to show where the execution flow goes and what the values of variables are as they are changed.

    Your unformatted code is hard to read. Please edit the post and wrap the code in code tags. See: http://www.javaprogrammingforums.com...do=bbcode#code
    Last edited by Norm; September 25th, 2011 at 07:30 PM.

  3. #3
    Junior Member
    Join Date
    Sep 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Program is attempting to change booleans yet the result is unsuccesful.

    Ok it is changed, thanks Norm.

  4. #4
    Super Moderator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,099
    Thanks
    169
    Thanked 779 Times in 725 Posts
    Blog Entries
    5

    Default Re: Program is attempting to change booleans yet the result is unsuccesful.

    Please do not delete original threads like you did. This behavior is highly frowned upon. What if someone else comes along with the same or similar problem, how does your post do anything other than confusing them and cluttering the forums?

Similar Threads

  1. Modifying "Coin change" program
    By S0ULphIRE in forum Algorithms & Recursion
    Replies: 33
    Last Post: September 18th, 2011, 11:38 PM
  2. Result set is closed
    By keshav_agrawal89 in forum What's Wrong With My Code?
    Replies: 6
    Last Post: June 11th, 2011, 08:35 AM
  3. Bouncing Ball Program Random Color Change
    By coderEvolution in forum What's Wrong With My Code?
    Replies: 10
    Last Post: March 3rd, 2011, 03:01 PM
  4. Basic program which gets cost, adds tax, gets payment then calculates change.
    By bibboorton in forum What's Wrong With My Code?
    Replies: 6
    Last Post: August 25th, 2010, 10:31 AM
  5. Problem of getting result than SQL to JTable
    By MS_Dark in forum Exceptions
    Replies: 1
    Last Post: March 10th, 2009, 06:26 AM