Search:

Type: Posts; User: Dragonkndr712

Search: Search took 0.09 seconds.

  1. Replies
    2
    Views
    1,062

    Re: Need help, please.

    I decided to put up my classes in case there is something I am missing, although they compile fine.
    The 2 errors in the code, one is supposed to come from Laptop and on from Desktop. I do not...
  2. Replies
    2
    Views
    1,062

    Need help, please.

    I am having problem with class extending a class. I have the classes needed wrote correctly but when writingthe test case there is an error message.


    import javax.swing.JOptionPane;



    public...
  3. Replies
    3
    Views
    1,111

    Re: Question to do with methods.

    Could you explain a little more. I am a newbie and I dont quite understand what you mean.
  4. Replies
    3
    Views
    1,111

    Question to do with methods.

    How would you call something from one method to another? More specific how would you call an answer to a question from one method to use in another method?
  5. Replies
    9
    Views
    1,303

    Re: How to make for loop work?

    thank you that did it.
  6. Replies
    9
    Views
    1,303

    Re: How to make for loop work?

    I'm sorry I am a newbie and I do not understand what this does.
  7. Replies
    9
    Views
    1,303

    Re: How to make for loop work?

    Ok, how do I fix that?
  8. Replies
    9
    Views
    1,303

    Re: How to make for loop work?

    When the loop runs it wants to know how many times to repeat. It does this just fine but when it comes to the last runthrough of the loop where it should print out all of the messages it only prints...
  9. Replies
    9
    Views
    1,303

    Re: How to make for loop work?

    I want to apologize now I am unsure what I did wrong when trying to put it in the proper format.
  10. Replies
    9
    Views
    1,303

    How to make for loop work?

    Actually the for loop works it's just that what I am having to do is pushed through with JOptionPane output. It will only print out the last part of the loop when it needs to print all the runs. This...
  11. Replies
    13
    Views
    2,216

    Re: Problem with Loop

    That worked not sure why but my program works now. Thank you.
  12. Replies
    13
    Views
    2,216

    Re: Problem with Loop

    Output expected is that in command prompt it will ask for the name and how kilowatts. It will then give the answer in the joptionpane. The first customer works fine but when the second time comes up...
  13. Replies
    13
    Views
    2,216

    Re: Problem with Loop

    Thank you for pointing out about kilowatt, you were right on that point but it still doesn't fix my problem. here is the new code, hopefully you can figure out where I am going wrong.


    //import...
  14. Replies
    13
    Views
    2,216

    Problem with Loop

    I am new to java and in this assignment I need to make a spot to enter the customer's name and amount of kilowatt usage. I need to do this for three people, the first time through it works fine but...
Results 1 to 14 of 14