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...
Type: Posts; User: ishiro
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...
Yes the query return more than one:
http://i46.tinypic.com/2uyr6e8.jpg
The println print out just one.
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 =...