JavaFX custom cell factory with custom Objects
All custom cell implementations that override updateItem(…) need to deal with the case where the cell is empty in that method. So you could do a naïve fix of this with public final class ConversationCell<Message> extends ListCell<Message> { @Override protected void updateItem(Message item, boolean empty) { super.updateItem(item, empty); if (empty) { setGraphic(null); } else { … Read more