Search:

Type: Posts; User: ishiro

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    1,509

    Re: JcomboBox showing only one item

    I expect for exemple 10 and 11 but it only prints 10.
    I just realised that if i delete this part:


    Object code = comboBox2.getSelectedItem();
    String sqll = "Select * FROM...
  2. Replies
    6
    Views
    1,509

    Re: JcomboBox showing only one item

    Yes the query return more than one:
    http://i46.tinypic.com/2uyr6e8.jpg

    The println print out just one.
  3. Replies
    6
    Views
    1,509

    JcomboBox showing only one item

    Whats wrong with my code? the second JcomboBox is showing only one item even if there is more in the database.


    @Override
    public void actionPerformed(ActionEvent e) {
    Object o =...
Results 1 to 3 of 3