Fill java combobox with mysql query

Asked

Viewed 312 times

1

I’m having a question about how to implement loading items into a combobox from a table data in mysql. The problem is to select from the combobox the name of a supplier and then assign to that payment object the attributes of the supplier to then print a payment order. But I came across the fact that the combobox when receiving the value only creates an index for each item.

  • Can you put the code you have? otherwise the question becomes difficult to answer.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.