it.unibo.tuprolog.ui.gui.TuPrologIDEApplication.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ide Show documentation
Show all versions of ide Show documentation
Customisable, JavaFX-based GUI for logic solvers
package it.unibo.tuprolog.ui.gui
import javafx.application.Application
import javafx.stage.Stage
import kotlin.system.exitProcess
class TuPrologIDEApplication : Application() {
@Suppress("TooGenericExceptionCaught", "PrintStackTrace", "TooGenericExceptionThrown")
override fun start(stage: Stage) {
try {
TuPrologIDEBuilder(stage).show()
} catch (e: Throwable) {
e.printStackTrace()
throw Error(e)
}
}
override fun stop() {
exitProcess(0)
}
companion object {
@JvmStatic
fun main(args: Array) {
launch(TuPrologIDEApplication::class.java)
}
}
}