Skip to content
Snippets Groups Projects
Commit 63878715 authored by Jason Dittmer (jcd763)'s avatar Jason Dittmer (jcd763)
Browse files

Made MainScreen class public.

parent 2fc19a4d
No related branches found
No related tags found
2 merge requests!45Prototype to Master for Milestone 5,!44Demo
import javafx.application.Application;
import javafx.stage.Stage;
import model.OSInterface;
import ui.mainScreen;
import ui.MainScreen;
public class Main extends Application {
@Override
public void start(Stage primaryStage) throws Exception{
// Initialize at main UI screen
new mainScreen();
new MainScreen();
}
......
......@@ -10,7 +10,7 @@ import javafx.stage.Stage;
* mainScreen is the main UI page for the program. All user functions start here.
*/
class MainScreen extends Pane {
public class MainScreen extends Pane {
Stage primaryStage = new Stage();
Scene mainScreenScene = new Scene(this, 800, 800);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment