}//GEN-LAST:event_submitButtonClicked
private void updateButtonClicked(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_updateButtonClicked
if(dataTable != null) {
int selectedRow = dataTable.getSelectedRow();
TAssetDao assetDao = new TAssetDao();
ServicePopulateInsertForm populateServiceCall = new ServicePopulateInsertForm(assetDao.selectTAssetFromId((int) dataTable.getValueAt(selectedRow, 0)));
GUIInsertFromUpdate updateRecord = new GUIInsertFromUpdate(populateServiceCall.mapBeans());
updateRecord.setVisible(true);
}
}//GEN-LAST:event_updateButtonClicked