Search:

Type: Posts; User: shep

Page 1 of 2 1 2

Search: Search took 0.11 seconds.

  1. Re: How can I add an Item to a Combobox by using a JTextfield?

    Oh no I understand it. It was that I had my if statement in the event handler in another if statement so it wouldn't work. And yes I figured it out. But since I have your attention. I have one more...
  2. Re: How can I add an Item to a Combobox by using a JTextfield?

    Well I'm sorry I usually figure things out when I ask them. So sorry man. But I was stuck on it for a couple of hours.
  3. How can I add an Item to a Combobox by using a JTextfield?

    How can I add an Item to a Combobox by using a JTextfield?
  4. Re: Question: How can I add an Item to a combobox when I click a button?

    Yeah sorry i am referring to Swing. I tried to do that but it won't. Could you provide a small bit of code please.

    --- Update ---

    Sorry just figured it out but I have another question. How do I...
  5. Question: How can I add an Item to a combobox when I click a button?

    Question: How can I add an Item to a combobox when I click a button?
  6. Replies
    5
    Views
    954

    Re: Event Handler Question

    Thanks I figured it out :)=D>
  7. Replies
    5
    Views
    954

    Re: Event Handler Question

    Then how can I call the other method from another class?
  8. Replies
    5
    Views
    954

    Event Handler Question

    Hi Guys, Is it possible to go from one method to another when a jbutton is clicked? Or is there another solution. Please Help.
  9. Re: How to store a number that was inputted by the user? please help

    yh im sorry im new and well im stupid so i kinda understand what you are saying but not fully if u get me but i trying to store the number when i top-up so when i go to purchase it will subtraction...
  10. How to store a number that was inputted by the user? please help

    Hey people im just wondering is there a way to store a number without using the non-void methods
    heres my code my code works grand but i need to store the balence and by how much it was topped up by...
  11. Re: Hey guys i've been trying to write this program for ages please Help!!

    well it would be going down from the inputted number like if i inputted 24 and this program goes down in 3 then i would like it to 24,21,18,15,12,3,6,3,0 like that but i tried the i-- and i got an...
  12. Hey guys i've been trying to write this program for ages please Help!!

    how do i reverse an order of numbers starting with the input and working it's way down


    import java.io.*;
    import java.util.*;

    public class question4
    {
    public static void main(String[]...
  13. Replies
    7
    Views
    1,171

    Re: Need help people please help!!

    so my code is right but do i have to set j = 1 ? please help im very confused
  14. Replies
    7
    Views
    1,171

    Re: Need help people please help!!

    ok sorry here's the code and are sure about 1 not being a prime number


    // File: Prime.java |
    //...
  15. Replies
    7
    Views
    1,171

    Re: Need help people please help!!

    can someone help me i'm trying to print out prime numbers starting with 1 but it doesn't print out 1 i know it maybe a stupid question but i can't seem to find out how to
  16. Replies
    7
    Views
    1,171

    Need help people please help!!

    Hello everyone i need help with a prime number program i'm getting a small error and don't know how to solve it


    // File: Prime.java |
    //...
  17. Re: Need Help with a do while loop I'm not sure if right Please Help!!

    i got it thanks for the help man
  18. Re: Need Help with a do while loop I'm not sure if right Please Help!!

    i understand but could u give me an example please
  19. Re: Need Help with a do while loop I'm not sure if right Please Help!!

    Thanks for replying but i don't know how to stop a do while loop or have an if statement so i can stop it please help me
  20. Need Help with a do while loop I'm not sure if right Please Help!!

    Hey guys i need help i am trying to execute a do while loop and don't know how to do it properly and to stop the loop please help me


    class Category{
    public static void main(String[] args){
    ...
  21. Replies
    4
    Views
    1,141

    Re: Hey guys need help kinda stuck

    its ok it just solved it thank you
  22. Replies
    4
    Views
    1,141

    Re: Hey guys need help kinda stuck

    im sorry im new to this and im stuck at the end of my program and im trying to figure out a way how i can output messages eg If BOTH answers are NO output “You appear to like saying No!”
    - If ONLY...
  23. Replies
    4
    Views
    1,141

    Hey guys need help kinda stuck

    Ok here's the problem i have typed up most of the program and i cant get this little bit to work, cant think and this was a last resort
    So i have to output an message of the last two questions:
    -...
  24. Re: Hey guys need abit of help please stressing like a mad thing

    i know what the problem is but does anyone know how to add all the answers up at the end and say "Thank you, you entered 7 Yes and 3 No"
  25. Re: Hey guys need abit of help please stressing like a mad thing

    the error message is :variable answer11 might have not be initialized
Results 1 to 25 of 32
Page 1 of 2 1 2