package view;

import javafx.beans.property.ReadOnlyDoubleProperty;
import javafx.scene.Scene;
import javafx.scene.layout.GridPane;

public class Authoring {

		private static Scene myScene;

		/**
		 * Constructor that takes in the language choice of the user.
		 * @param language that the user chooses the program from.
		 */
		public Authoring(String lang){
			
		}

		/**
		 * Initializes the scene which is displayed in the window.
		 * @return the splash screen scene
		 */
		
		public static Scene init(ReadOnlyDoubleProperty height, ReadOnlyDoubleProperty width){
			GridPane display = createDisplay();
			display.prefHeightProperty().bind(height);
			display.prefWidthProperty().bind(width);
			myScene = new Scene(display,500, 500);
			return myScene;
		}
		
		/**
		 * Creates the display independently of initializing the scene.
		 * @return BorderPane in which the contents are the splash screen
		 */

		private static GridPane createDisplay() {
			GridPane display = new GridPane();
			display.setHgap(10);
			display.setVgap(10);
			// add children here 
			return display;
		}

	}


@@ -112,19 +112,19 @@
 ene.
-layout.Grid
+control.Tab
 Pane
@@ -565,28 +565,27 @@
  width)%7B%0A%09%09%09
-Grid
+Tab
 Pane display
@@ -587,29 +587,27 @@
 splay = 
-createDisplay
+new TabPane
 ();%0A%09%09%09d
@@ -761,335 +761,10 @@
 %09%09%7D%0A
+
 %09%09
-%0A%09%09/**%0A%09%09 * Creates the display independently of initializing the scene.%0A%09%09 * @return BorderPane in which the contents are the splash screen%0A%09%09 */%0A%0A%09%09private static GridPane createDisplay() %7B%0A%09%09%09GridPane display = new GridPane();%0A%09%09%09display.setHgap(10);%0A%09%09%09display.setVgap(10);%0A%09%09%09// add children here %0A%09%09%09return display;%0A%09%09%7D
 %0A%0A%09%7D

change to tab pane