package view;

import java.io.IOException;

//import javafx.scene.Parent;
//import javafx.fxml.FXMLLoader;
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;


/**
 * Main view (GUI) of uClear
 * 
 * @author Wang Zhipeng
 *
 */

public class MainView extends Application {
	
	MainViewController mainViewControl;
	
	@Override
	public void start(Stage primaryStage) throws IOException {
		
//		Parent root = FXMLLoader.load(getClass().getResource("MainView.fxml"));
		
		mainViewControl = new MainViewController();
		mainViewControl.setText("Enter Command here...");
		mainViewControl.setDateLabel();
//		mainViewControl.display();
		
        
//        Scene scene = new Scene(root, 434, 620);
		Scene scene = new Scene(mainViewControl);
		primaryStage.setWidth(450); //<fx:root type="javafx.scene.layout.VBox" xmlns:fx="http://javafx.com/fxml"></fx:root>
		primaryStage.setHeight(620); //<TextField fx:id="textField"/><Button text="Click Me" onAction="#doSomething"/>
        
        primaryStage.setTitle("uClear: Welcome!");
        primaryStage.setScene(scene);
        scene.getStylesheets().add(MainView.class.getResource("MainView.css").toExternalForm());
        primaryStage.show();
		
	}
	
	public MainViewController getController() {
		return this.mainViewControl;
	}

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

}

@@ -638,42 +638,8 @@
 ();%0A
-//%09%09mainViewControl.display();%0A%09%09%0A
     
@@ -645,18 +645,16 @@
      %0A//
-  
       Sc
@@ -770,208 +770,40 @@
 0); 
-//%3Cfx:root type=%22javafx.scene.layout.VBox%22 xmlns:fx=%22http://javafx.com/fxml%22%3E%3C/fx:root%3E%0A%09%09primaryStage.setHeight(620); //%3CTextField fx:id=%22textField%22/%3E%3CButton text=%22Click Me%22 onAction=%22#doSomething%22/%3E
+%0A%09%09primaryStage.setHeight(620); 
 %0A   

Remove some documentation from MainView.java.