Search:

Type: Posts; User: kpat

Search: Search took 0.10 seconds.

  1. Re: JComboBox issue. If user selects any item do this... (if statment)

    problem solved thanks guys
  2. Re: JComboBox issue. If user selects any item do this... (if statment)

    ok fine thanks
  3. Re: JComboBox issue. If user selects any item do this... (if statment)

    problem solved
  4. Re: JComboBox issue. If user selects any item do this... (if statment)

    yer but nothing. i tried messing around with the placing and setSelectedIndex(-1) and etc. any ideas?
  5. Re: JComboBox issue. If user selects any item do this... (if statment)

    problem solved
  6. Re: JComboBox issue. If user selects any item do this... (if statment)

    problem solved
  7. Re: JComboBox issue. If user selects any item do this... (if statment)

    problem solved
  8. Re: JComboBox issue. If user selects any item do this... (if statment)

    problem solved
  9. Re: JComboBox issue. If user selects any item do this... (if statment)

    problem solved
  10. Re: JComboBox issue. If user selects any item do this... (if statment)

    I managed to fix the problem, after some playing around thanks to both of you.

    Norm & aussiemcgr thank you both for your help and support when i had a problem.
  11. Re: JComboBox issue. If user selects any item do this... (if statment)

    problem solved
  12. Re: JComboBox issue. If user selects any item do this... (if statment)

    i think adding a blank item in runtime would be better. How would i be able to do that?Sorry.

    Thanks
  13. Re: JComboBox issue. If user selects any item do this... (if statment)

    OK, but the items are stored in the database, is there a way that i don't need to add a blank row in the database
  14. Re: JComboBox issue. If user selects any item do this... (if statment)

    wrong code sorry new code added
  15. Re: JComboBox issue. If user selects any item do this... (if statment)

    problem solved
  16. Re: JComboBox issue. If user selects any item do this... (if statment)

    problem solved
  17. Re: JComboBox issue. If user selects any item do this... (if statment)

    How would i do that, sorry i dont understand
  18. Re: JComboBox issue. If user selects any item do this... (if statment)

    no, the problem is that even when the user doesn't select an item from the JComboBox, by default the JComboBox selects the first item in the list. i dont want that to happen. do you know how to stop...
  19. Re: JComboBox issue. If user selects any item do this... (if statment)

    i know that an item is being selected because values for that item is being printed out.
  20. Re: JComboBox issue. If user selects any item do this... (if statment)

    Norm - how would i find that out?

    aussiemcgr - Thats what i think is happening but i dont know how to stop that. Any ideas.
  21. Re: JComboBox issue. If user selects any item do this... (if statment)

    Yer the program knows what item is selected and i got it to search the database and get and display data with the item in it, but i also want it, so when no item is selected and the button is...
  22. Re: JComboBox issue. If user selects any item do this... (if statment)

    don't fully understand what your saying, but, ok.

    The user selects an item from the JComboBox. Once they have selected item they press a JButton and an action is preformed that searchs the item...
  23. Re: JComboBox issue. If user selects any item do this... (if statment)

    i did that at the start but i want the selected item only when the button is pressed.

    but when I press the Button without selecting an item from the JComboBox for some reason an item is selected...
  24. Re: JComboBox issue. If user selects any item do this... (if statment)

    nothing like that.
  25. JComboBox issue. If user selects any item do this... (if statment)

    Hi,

    I'm having trouble writing a piece of code. It's probs simple but i can't seem to be able to do it, i've tried everything i could think of. If you can provide some help i would appreciate it.
Results 1 to 25 of 25