code: private JButton getCancelButton() {
  		if (cancelButton == null) {
  			cancelButton = new JButton();
  			cancelButton.setText(Constant.messages.getString("all.button.cancel"));
  			cancelButton.setEnabled(true);
  			cancelButton.addActionListener(new java.awt.event.ActionListener() { 
  
  				@Override
  				public void actionPerformed(java.awt.event.ActionEvent e) {
  					selectedSiteNode = null;
  					selectedTarget = null;
  					NodeSelectDialog.this.setVisible(false);
  					//NodeSelectDialog.this.dispose();
  				}
  			});
  
  		}
  		return cancelButton;
  	}
docs: This method initializes btnStop
  
  @return javax.swing.JButton