miha-x64
11/28/2016, 11:56 AMjasoet
12/27/2016, 5:01 PMteedee
01/18/2017, 9:21 PMaltero
01/19/2017, 1:46 PMchansek
03/01/2017, 3:55 PMcarlw
03/01/2017, 5:51 PMporokorodev
03/26/2017, 2:14 AMsreich
03/27/2017, 6:34 PMlibcmg
03/28/2017, 4:11 AMdeviant
04/24/2017, 8:20 AMmesquka
04/26/2017, 2:22 PMthomasnield
05/10/2017, 1:35 AMthomasnield
06/27/2017, 7:29 PMthomasnield
06/27/2017, 7:29 PMroberto.guerra
06/27/2017, 7:38 PMlupajz
06/27/2017, 9:20 PMmiha-x64
06/28/2017, 3:09 PMalex.hart
07/06/2017, 2:22 PMPetros Paraskevopoulos
07/07/2017, 12:41 PMhestad
04/12/2018, 4:27 PMthomasnield
04/14/2018, 1:05 PMhestad
04/14/2018, 1:26 PMmelatonina
11/30/2020, 11:55 AMfun Button.actions(): Flow<Unit> = callbackFlow {
val handler = EventHandler<ActionEvent> {
offer(Unit)
}
addEventHandler(ActionEvent.ACTION, handler)
awaitClose { removeEventHandler(ActionEvent.ACTION, handler) }
}
and then use the debounce()
method: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/debounce.html
Thread in Slack Conversationmelatonina
12/13/2020, 4:45 PMGridView
(from controlsfx) with a custom cell. The cell updateItem
method is being called continuously. Do you have any idea of what could be the cause? The cell has a graphic
content which depends on the type of the item.groostav
01/11/2021, 11:49 PMlaunch(Dispatchers.JavaFx){
val viewData = snapshotViewModelState()
val newView = async(Dispatchers.Default){
val vbox = VBox()
vbox.children += makeCoolElements(viewData)
}
this.view.content = newView
}
or
launch(Dispatchers.JavaFx){
val viewData = snapshotViewModelState()
val fxmlLoader = javafx.fxml.FXMLLoader()
val newView = async(Dispatchers.Default){
fxmlLoader.load(findresource("/com/mycompany/reasonably-standard-fxml-that-doesnt-contain-stages.fxml")) //this is actually annoying since defining an alert in FXML would be handy
}
this.view.content = newView
}
that is to say, is it safe for me to call constructors and/or mutate view objects off the UI thread if I'm certain they're not on a scene graph?melatonina
01/26/2021, 10:09 PMstephanmg
02/01/2021, 4:16 PMOle K. Øverland (Norway)
02/05/2021, 8:58 AMTableView
is made editable, every mouse double click / mouse single click on a selected cell / [Enter] press starts cell edit. This is pretty annoying, is there an easy way to disable it? I have a dedicated button in the UI to trigger cell edit.
Slack ConversationBrendan Campbell-hartzell
08/26/2021, 8:01 AMChristian Turner
06/24/2022, 4:42 PM