public void displayQRCode(String address,String amount,String label){
  if (qrCodeGenerator == null) {
    qrCodeGenerator=new QRCodeGenerator(this.bitcoinController);
  }
  try {
    BufferedImage image=qrCodeGenerator.generateQRcode(address,amount,label);
    ImageIcon icon;
    if (image != null) {
      icon=new ImageIcon(image);
    }
 else {
      icon=new ImageIcon();
    }
    if (qrCodeLabel != null) {
      qrCodeLabel.setIcon(icon);
      setDragLabelTextAndTooltip();
    }
  }
 catch (  RuntimeException re) {
    log.error(re.getMessage(),re);
  }
}

public void displayQRCode ( String address , String amount , String label ) { if ( qrCodeGenerator == null ) { qrCodeGenerator = new QRCodeGenerator ( this . bitcoinController ) ; } try { BufferedImage image = qrCodeGenerator . generateQRcode ( address , amount , label ) ; ImageIcon icon ; if ( image != null ) { icon = new ImageIcon ( image ) ; } else { icon = new ImageIcon ( ) ; } if ( qrCodeLabel != null ) { qrCodeLabel . setIcon ( icon ) ; setDragLabelTextAndTooltip ( ) ; } } catch ( RuntimeException re ) { log . error ( re . getMessage ( ) , re ) ; } }
display the address , amount and label as a qr code .
