package edu.dynamic.dynamiz.UI;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.TextArea;
import javafx.scene.control.TextAreaBuilder;
import javafx.scene.control.TextField;
import javafx.scene.layout.BorderPane;
import javafx.scene.text.Font;
import javafx.scene.text.Text;
import javafx.stage.Stage;
/**
 * Originally Planned JavaFX UI for Dynamiz. 
 * TODO: Delete this file. - XY 27/10/14
 * @author "XYLau"
 *
 */
public class GUI extends Application {
	public static DisplayFormatter disp = new DisplayFormatter();
	
	@Override
	public void start(Stage primaryStage) {
		BorderPane bp = new  BorderPane();
		primaryStage.setTitle("Dynamiz");
		
		// Set output area
		TextArea ta = TextAreaBuilder.create().prefWidth(800).prefHeight(600).wrapText(true).build();
		ta.setEditable(false);
		
		bp.setTop(ta);
		
		ta.setText(disp.displayWelcomeMessage()+"\n");
		ta.appendText(disp.displayPrompt(1)+"\n");
		
		// Set input area
		TextField tf = new TextField();
		bp.setBottom(tf);
		
		primaryStage.setScene(new Scene(bp));
		primaryStage.show();
		
		
	}

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

@@ -353,16 +353,18 @@
 Stage;%0D%0A
+%0D%0A
 /**%0D%0A * 
@@ -409,50 +409,207 @@
 iz. 
-%0D%0A * TODO: Delete this file. - XY 27/10/14
+Due to compactibility issues, the%0D%0A * team has decided to stick to Java Swing since the JavaFX feature that was to%0D%0A * be used in the UI requires JDK8 while the project environment runs on JRE7.%0D%0A * 
 %0D%0A *
@@ -621,15 +621,21 @@
 hor 
-%22
 XYLau
-%22
+ -unused
 %0D%0A *
@@ -745,19 +745,18 @@
 ter();%0D%0A
-%09
 %0D%0A
+
 %09@Overri
@@ -823,17 +823,16 @@
 p = new 
- 
 BorderPa
@@ -871,28 +871,26 @@
 Dynamiz%22);%0D%0A
-%09%09
 %0D%0A
+
 %09%09// Set out
@@ -970,16 +970,22 @@
 ght(600)
+%0D%0A%09%09%09%09
 .wrapTex
@@ -1028,20 +1028,18 @@
 alse);%0D%0A
-%09%09
 %0D%0A
+
 %09%09bp.set
@@ -1044,26 +1044,24 @@
 etTop(ta);%0D%0A
-%09%09
 %0D%0A%09%09ta.setTe
@@ -1091,17 +1091,19 @@
 essage()
-+
+ + 
 %22%5Cn%22);%0D%0A
@@ -1143,17 +1143,19 @@
 t(1)
-+
+ + 
 %22%5Cn%22);%0D%0A
 %09%09%0D%0A
@@ -1146,26 +1146,24 @@
 ) + %22%5Cn%22);%0D%0A
-%09%09
 %0D%0A%09%09// Set i
@@ -1229,20 +1229,18 @@
 m(tf);%0D%0A
-%09%09
 %0D%0A
+
 %09%09primar
@@ -1300,14 +1300,8 @@
 );%0D%0A
-%09%09%0D%0A%09%09
 %0D%0A%09%7D

Update -usued tag for file to be removed GUI.java