private JButton getBtnDecline ( ) { if ( btnDecline == null ) { btnDecline = new JButton ( ) ; btnDecline . setText ( "Decline" ) ; btnDecline . addActionListener ( new java . awt . event . ActionListener ( ) { @ Override public void actionPerformed ( java . awt . event . ActionEvent e ) { accepted = false ; System . exit ( 1 ) ; } } ) ; } return btnDecline ; }
This method initializes btnDecline