Search:

Type: Posts; User: copeg

Search: Search took 0.11 seconds.

  1. Replies
    6
    Views
    1,526

    Re: JcomboBox showing only one item

    The original poster knows only one is being added, which was discussed above (and under what circumstances would a JComboBox have multiple items but only show one?)



    I don't see anything...
  2. Replies
    6
    Views
    1,526

    Re: JcomboBox showing only one item

    I can't see anything obvious from the code you posted that would cause this. When the value prints...does it print what you would expect (eg 10)? Have you tried using a PreparedStatement?
  3. Replies
    6
    Views
    1,526

    Re: JcomboBox showing only one item

    It doesn't matter how many are in your database....does your query return more than one? Does the println in your loop print out more than one?
Results 1 to 3 of 3