// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
package fxtest;

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

public class TestGUIwithMLandExtJS extends Application {
	public static void main(String[] args) {
		Application.launch(TestGUIwithMLandExtJS.class, args);
	}
	@Override
	public void start(Stage stg) throws Exception {
		stg.setTitle("This is a test");
		Scene scene = new Scene((Parent)FXMLLoader.load(getClass().getResource("testextjs.fxml")));
		scene.getStylesheets().add(getClass().getResource("test.css").toString());
		stg.setScene(scene);
		stg.show();
	}
}
