import javafx.application.Application; import javafx.scene.layout.Pane; import javafx.scene.Scene; import javafx.stage.Stage; public class Xxx2 extends Application { @Override public void start(Stage teater) { // Sett opp scene og kulisser Pane kulisser = new Pane(); Scene scene = new Scene(kulisser); teater.setTitle("Overskrift"); teater.setScene(scene); teater.show(); } public static void main(String[] args) { launch(args); } }