×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: feyzi Cizme
Added: Aug 15, 2017 2:48 PM
Views: 3
  1.  Alert alert = new Alert(Alert.AlertType.CONFIRMATION, "",
  2.           new ButtonType("Evet", ButtonBar.ButtonData.OK_DONE),
  3.           new ButtonType("Vazgeç", ButtonBar.ButtonData.CANCEL_CLOSE));
  4.   new ClsAlert(alert, "Onay Penceresi", "Emin misiniz ?", "").fcImplementAlert();
  5.   alert.showAndWait().filter(btn -> btn.getButtonData() == ButtonBar.ButtonData.OK_DONE)
  6.           .ifPresent(btn -> new ClsLgn());
  7.