Get value from a jTable with mysql and place it in a java spinner

0

Good evening, can someone guide me how to get the value of a joint and place it in a spinner? with the text fields I have not had problems, but with the spinner I do not even get an error message but I do not get the value of the row that has been clicked, the age field in mysql is an integer.

    
asked by dannygaray60 30.05.2017 в 04:34
source

1 answer

0

To get the selected row of a JTable the getSelectedRow(). method is used Try with

tblPersonas.getSelectedRow()
    
answered by 30.05.2017 / 05:52
source