claudiug
10/07/2017, 3:56 PMclass MainView: View() {
override val root = Pane()
init {
with(root) {
prefHeight(800.0)
prefHeight(600.0)
if (true) {
replaceWith(LoginController::class)
} else {
replaceWith(RegisterController::class)
}
}
}
}