code: private void onNewResult(
  		final EvolutionResult<PolygonGene, Double> current,
  		final EvolutionResult<PolygonGene, Double> best
  	) {
  		invokeLater(() -> {
  			final Genotype<PolygonGene> gt = best
  				.getBestPhenotype()
  				.getGenotype();
  
  			bestEvolutionResultPanel.update(best);
  			currentevolutionResultPanel.update(current);
  			_polygonPanel.setChromosome((PolygonChromosome)gt.getChromosome());
  			_polygonPanel.repaint();
  		});
  	}
docs: GEN-LAST:event_saveButtonActionPerformed