Hullaballoonatic
09/04/2020, 11:38 PMopenIntenalWindow
to work, but it keeps throwing an exception:
java.lang.IllegalArgumentException: Parameter specified as non-null is null: method tornadofx.UIComponent.openInternalWindow, parameter owner
I've tried the simplest form of code I could think of and it still doesn't work:
class Start : App(MainView::class, HeaderStyle::class)
class MainView : View() {
override val root = borderpane {
openInternalWindow<FooView>()
}
}
class FooView : View() {
override val root = borderpane {
}
}
fun main() = launch<Start>()
The tornadofx documentation feels really lackluster around this method. The example passes in an type Editor
but I don't find anywhere it explains what that editor isHullaballoonatic
09/04/2020, 11:54 PMHullaballoonatic
09/04/2020, 11:54 PMHullaballoonatic
09/05/2020, 12:06 AMCarlton Whitehead
09/05/2020, 10:48 AMHullaballoonatic
09/05/2020, 5:50 PM