Ruckus
03/29/2018, 6:29 PMabhinay
03/29/2018, 6:38 PMimage.png▾
Ruckus
03/29/2018, 6:39 PMRuckus
03/29/2018, 6:39 PMcarlw
03/29/2018, 8:27 PMRuckus
03/29/2018, 8:28 PMRuckus
03/29/2018, 8:29 PMcarlw
03/29/2018, 8:54 PMRuckus
03/29/2018, 9:03 PMpike
03/30/2018, 1:20 AMWARNING: Unable to reload views.MainView@26829038 because it has no parent and no scene attached
nekoinemo
03/30/2018, 7:18 AMScope
rather than use the default oneperryprog
03/30/2018, 4:02 PMRuckus
03/30/2018, 4:08 PMmain
. Set it up in a controller or something and wire it to a property.perryprog
03/30/2018, 4:08 PMRuckus
03/30/2018, 4:09 PMperryprog
03/30/2018, 4:10 PMRuckus
03/30/2018, 4:10 PMfun main(args: Array<String>) = launch<KtUnionClientApp>(*args)
)perryprog
03/30/2018, 4:11 PMRuckus
03/30/2018, 4:13 PMval message = SimpleStringProperty("Hello, World!")
override val root = vbox {
label(message)
}
// In init
client.onTextMessage = { who, content, _ ->
message.value = "$who: $content"
}
perryprog
03/30/2018, 4:15 PMperryprog
03/30/2018, 4:16 PMperryprog
03/30/2018, 4:21 PMNot on FX application thread
. How would I update message
on the right thread then?carlw
03/30/2018, 4:22 PMperryprog
03/30/2018, 4:23 PMperryprog
03/30/2018, 4:23 PMcarlw
03/30/2018, 4:24 PMperryprog
03/30/2018, 4:24 PMcarlw
03/30/2018, 4:26 PMperryprog
03/30/2018, 4:26 PMcarlw
03/30/2018, 4:26 PM