UNPKG

quickprojects

Version:

QuickProjects makes it easy to create templates for programming projects without having to use an IDE.

33 lines (28 loc) 666 B
import javafx.application.Application import javafx.scene.Scene import javafx.scene.layout.BorderPane import javafx.stage.Stage // Basic entry point for Kotlin fun main(args: Array<String>) { println("\nHello World\n") } // A starter setup for JavaFX with Kotlin //class Main() : Application() { // // companion object { // @JvmStatic // fun main(args: Array<String>) { // launch(Main::class.java); // } // } // // override fun start(stage: Stage) { // stage.setTitle("Main"); // // val root = BorderPane() // val scene = Scene(root, 640.0, 480.0); // // stage.setScene(scene); // stage.show(); // } //}