code: private JButton getBtnOk() {
  		if (btnOk == null) {
  			btnOk = new JButton();
  			btnOk.setText(Constant.messages.getString("all.button.save"));
  			btnOk.setMinimumSize(new java.awt.Dimension(75,30));
  			btnOk.setPreferredSize(new java.awt.Dimension(75,30));
  			btnOk.setMaximumSize(new java.awt.Dimension(100,40));
  			btnOk.addActionListener(new java.awt.event.ActionListener() { 
  
  				@Override
  				public void actionPerformed(java.awt.event.ActionEvent e) {
                      historyRef.setNote(getTxtDisplay().getText());
                      clearAndDispose();
  				}
  			});
  
  		}
  		return btnOk;
  	}
docs: This method initializes btnStart
  
  @return javax.swing.JButton