Demo entry 6782228

Main

   

Submitted by anonymous on Jan 10, 2019 at 17:24
Language: Java. Code size: 491 Bytes.

package com.fxsimple;

import com.fxsimple.view.ViewFactory;
import javafx.application.Application;
import javafx.stage.Stage;

public class App extends Application {
    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage primaryStage) throws Exception {

        ViewFactory viewFactory = ViewFactory.viewFactory;
        primaryStage.setScene(viewFactory.getMainScene());
        primaryStage.show();
    }
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).