private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
	try {
	    searchDepthField.commitEdit();
	} catch (ParseException ex) {
	    Logger.getLogger(SearchOptionsFrame.class.getName()).log(Level.SEVERE, null, ex);
	}
	Number num = (Number) searchDepthField.getValue();
	controller.getModel().setSearchDepth(num.intValue());
	
	this.setVisible(false);
	updateView();
    }//GEN-LAST:event_jButton1ActionPerformed