@Override
public TransfertImage selectImage() {
TransfertImage selectedImage = null;
DialogOkCancel<UrlOkCancel> dialogUrl = new DialogOkCancel<UrlOkCancel>(
null, "Choisir une image sur internet", true, new UrlOkCancel());
dialogUrl.setOkText("Choisir");
dialogUrl.setCancelText("Annuler");
dialogUrl.setLocationRelativeTo(null);
dialogUrl.pack();