I have a window with a text entry field for the search and a VBox where the search results are displayed.
I made it so that with every change in the text box from the VBox everything is deleted and refilled, but you can see the moment of deletion and filling.
private void showSearchusers(Object[][] objects) { Platform.runLater(()->model.getUsers().clear()); for (Object[] object : objects) { Contact contact = new Contact(object,true,this); model.addUsers(contact); } } Actually, I would like to know if there is any way to get rid of flickering when redrawing, mb freeze the animation for a few ms?