code: private JButton getBtnOk() {
  		if (btnOk == null) {
  			btnOk = new JButton();
  			btnOk.setText(Constant.messages.getString("alert.add.button.save"));
  			btnOk.addActionListener(new java.awt.event.ActionListener() { 
  
  				@Override
  				public void actionPerformed(java.awt.event.ActionEvent e) {
  					Alert alert = alertViewPanel.getAlert();
  					try {
  						ExtensionAlert extAlert = Control.getSingleton().getExtensionLoader().getExtension(ExtensionAlert.class);
  						if (alert.getAlertId() >= 0) {
  							// Its an existing alert so save it
  							extAlert.updateAlert(alert);
  						} else {
  						    if (httpMessage != null) {
  						        historyRef = new HistoryReference(Model.getSingleton().getSession(), historyType, httpMessage);
  						    }
  						    
  						    alert.setSource(Alert.Source.MANUAL);
  						    // Raise it
  							extAlert.alertFound(alert, historyRef);
  						}
  					} catch (Exception ex) {
  					    logger.error(ex.getMessage(), ex);
  					}
  					clearAndCloseDialog();
  				}
  			});
  
  		}
  		return btnOk;
  	}
docs: This method initializes btnStart
  
  @return javax.swing.JButton