main class name changed

This commit is contained in:
Mestima 2021-12-28 18:40:27 +03:00
parent f3878e7feb
commit 7571aafdb8

View File

@ -5,9 +5,9 @@ import javafx.fxml.FXMLLoader
import javafx.scene.Scene import javafx.scene.Scene
import javafx.stage.Stage import javafx.stage.Stage
class HelloApplication : Application() { class ZomboidCopier : Application() {
override fun start(stage: Stage) { override fun start(stage: Stage) {
val fxmlLoader = FXMLLoader(HelloApplication::class.java.getResource("main.fxml")) val fxmlLoader = FXMLLoader(ZomboidCopier::class.java.getResource("main.fxml"))
val scene = Scene(fxmlLoader.load(), 483.0, 281.0) val scene = Scene(fxmlLoader.load(), 483.0, 281.0)
stage.title = "Zomboid mods copier v1.0" stage.title = "Zomboid mods copier v1.0"
stage.scene = scene stage.scene = scene
@ -16,5 +16,5 @@ class HelloApplication : Application() {
} }
fun main() { fun main() {
Application.launch(HelloApplication::class.java) Application.launch(ZomboidCopier::class.java)
} }