On my system you are giving code line error
ModelUsuario modelUsuario = new ModelUsuario();
ControllerUsuario controllerUsuario = new ControllerUsuario();
//recebe a linha selecionada
int linha = this.jTableUsuarios.getSelectedRow();
int codigo = (Integer) jTableUsuarios.getValueAt(linha, 0); //erro aqui
I'm trying to throw the table data into a JTextField, but as I click the button this error appears