JButton
    private void btnOKActionPerformed(java.awt.event.ActionEvent evt) {                                      
        // TODO add your handling code here:
        //System.exit(0);          // close application
        this.setVisible(false);  // close current window
    }