package edu.dynamic.dynamiz.UI;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.effect.DropShadow;
import javafx.scene.layout.BorderPane;
import javafx.scene.paint.Color;
import javafx.scene.text.Font;
import javafx.scene.text.Text;
import javafx.stage.Stage;

public class GUI extends Application {

	@Override
	public void start(Stage primaryStage) {
		BorderPane bp = new  BorderPane();
	
		Text t = new Text("Welcome to Dynamiz!");
		t.setFont(Font.font("Arial", 60));
		t.setEffect(new DropShadow(2,3,3,Color.BLUE));
		
		
		bp.setCenter(t);
			
		primaryStage.setTitle("Dynamiz");
		
		primaryStage.setScene(new Scene(bp));
		primaryStage.show();
		
		
	}

	public static void main(String[] args) {
		launch(args);
	}
}

@@ -120,25 +120,70 @@
 ene.
-effect.DropShadow
+control.TextArea;%0D%0Aimport javafx.scene.control.TextAreaBuilder
 ;%0D%0Ai
@@ -225,42 +225,8 @@
 e;%0D%0A
-import javafx.scene.paint.Color;%0D%0A
 impo
@@ -355,16 +355,81 @@
 tion %7B%0D%0A
+%09public static DisplayFormatter disp = new DisplayFormatter();%0D%0A%09
 %0D%0A%09@Over
@@ -519,149 +519,191 @@
 ;%0D%0A%09
-%0D%0A%09%09Text t = new Text(%22Welcome to 
+%09primaryStage.setTitle(%22
 Dynamiz
-!
 %22);%0D%0A%09%09
-t.setFont(Font.font(%22Arial%22, 60)
+%0D%0A%09%09// Set output area%0D%0A%09%09TextArea ta = TextAreaBuilder.create().prefWidth(800).prefHeight(600).wrapText(true).build(
 );%0D%0A%09%09t
+a
 .setE
-ffect(new DropShadow(2,3,3,Color.BLUE));%0D%0A%09%09%0D%0A%09%09
+ditable(false);
 %0D%0A%09%09
@@ -720,49 +720,108 @@
 er(t
+a
 );%0D%0A%09%09
-%09
 %0D%0A%09%09
-primaryStage.setTitle(%22Dynamiz
+ta.setText(disp.displayWelcomeMessage()+%22%5Cn%22);%0D%0A%09%09ta.appendText(disp.displayPrompt(1)+%22%5Cn
 %22);%0D

Create output object