package com.browser;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class BrowserApp extends Application {

    @Override
    public void start(Stage primaryStage) {
        BrowserController controller = new BrowserController(primaryStage);
        Scene scene = new Scene(controller.getRoot(), 1280, 800);
        scene.getStylesheets().add(getClass().getResource("/styles/browser.css").toExternalForm());
        
        primaryStage.setTitle("NeveTime Browser");
        primaryStage.setScene(scene);
        primaryStage.setResizable(true);
        primaryStage.setMinWidth(600);
        primaryStage.setMinHeight(600);
        primaryStage.show();
    }

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