public void carregarDados() throws Exception { ResultSet especs = nucleo.getSpecific(espec); while (especs.next()) { jLabel2.setText(especs.getString(2)); txtcod.setText(especs.getString(1)); txtname.setText(especs.getString(2)); ResultSet ar = nucleo.getArea(especs.getString(3)); while (ar.next()) txtarea.setText(ar.getString(2)); ar.close(); } especs.close(); actualizarComboArea(); }