@@ -0,0 +1,450 @@
+package view;%0A%0Aimport javafx.scene.text.Text;%0Aimport javafx.stage.Popup;%0A%0Apublic class ErrorDisplay %7B%0A%09private final Popup myPopup = new Popup();%0A%09private final static int WIDTH = 300;%0A%09private static final int HEIGHT = 200;%0A%09private static Text myText = new Text();%0A%0A%09public void displayError(Exception e) %7B%0A%09%09myPopup.show(owner);%0A%09%7D%0A%0A%09private void init() %7B%0A%09%09myPopup.setX(WIDTH);%0A%09%09myPopup.setY(HEIGHT);%0A%09%09myPopup.getContent().addAll(myText);%0A%09%7D%0A%7D%0A

create error display