Search:

Type: Posts; User: ishiro

Search: Search took 0.39 seconds.

  1. Replies
    6
    Views
    651

    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
    651

    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
    651

    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 =...
  4. Replies
    0
    Views
    834

    JcomboBox duplicates problem

    Hello,
    I have two JComboBoxs, the first one is filled from database, the second one is filled after user's choice on the first comboBox.
    Once a choice in second comboBox is done, some JLabels are...
Results 1 to 4 of 4